Hi frankz,
I think what bong means with "int" is to use a timestamp returned by
time()Further to use this as storing format in your mysql DB:
create table foo(id INT, mytimestamp INT(11));
in PHP you have date() for converting a timestamp to a date:
echo date('m/d/Y', 1299446702);
and strtotime() to convert a date to timestamp:
Bong, speaks about a conversion in your view. This means he suggests a conversation most likely with js.
You would get the "unixTimestamp" from the db f.e. as json response and convert it as date
object to your needs.
Regarding your existing dates:
I think you could do a conversion with UNIX_TIMESTAMP() as described here:
Hope this helps,
cheers,
– anatol