I've been sitting here all morning testing this thing! :(
I have a MYSQL DATETIME field in a small table. The INSERT function UNIX_TIMESTAMP() doesn't give me a date or time?
UNIX_TIMESTAMP(NOW()) doesn't give me a time?
The SELECT UNIX_TIMESTAMP(CreationDateTime) AS CreationDateTime seems to work but only if I format the date manually with phpmyadmin.
SO, what are most people doing... is there a good php solution?
I'm looking for a reliable INSERT with a reliable SELECT.
Thanks
Matt