[eluser]CI_Newb[/eluser]
Right now i'm converting my old app to codeigniter.
One change I made was to alter the way dates and times are stored in the database.
Right now, they are stored in 2 columns
tdate = DATE column type storing (Y-m-d)
ttime = TIME column type storing (H:i
)
Codeigniter version
submit_date = DATE column type storing (Y-m-d)
submit_time = VARCHAR(10) column type storing (U) epoch time
There are currently 18,000 rows so doing by hand is out of the question.
How can change H:i
to unix epoch time in the database?