I have a mysql table containing timestamps in the following format.
April 23, 2011 at 10:00 PM
How would I use php to change the format of this oddly formated timestamp into the format you get when this is declared: echo date('U'); aka seconds since the Unix Epoch. Then I would like to update my table with the new format.
Can
strtotime()save it?http://php.net/manual/en/function.strtotime.php
If not, then you are going to need to explode on ‘ ‘ and ‘,’ and then do some math to get into seconds