I already have dates posted in a Table formated date('Ymd') how can I convert them into date('U')
Thanx!
Jack
you can't, you should input using time() first then convert into something else. date("U") is the same as time().
Originally posted by Frederick you can't...
sure you can:
$date = '20041227'; // a date in "Ymd" format echo strtotime($date); // the UNIX timestamp of the given date