|
Posted by Mickey on 03/12/07 17:56
Hi,
I have a date in three pieces dd mm yyyy.
I'm just wondering the best way to convert this for inserting into a
DATETIME field and then back again when displaying it.
I have tried date, strtotime mktime but it keeps inserting a blank
date. i.e. 00:00:00 00:00...
I've been looking through the php manual but I can't seem to get this
working.
Also would I be better off using the UNIX_TIMESTAMP function?
Thanks in advance.
Navigation:
[Reply to this message]
|