[SOLVED] adding a date in
Posted: Fri Jan 16, 2004 2:42 am
I want to automatically add the today's date into a field on my database for DateEntered.
In access I just use the date() function as the default value in the field. Is there a similar function for mysql?
if not i can enter it when the other data is enterered but am unsure of the syntax. when i tried getdate() id didn't work do I need to put anything in the () part or am i completely barking up the wrong tree/
Any help appreciated
In access I just use the date() function as the default value in the field. Is there a similar function for mysql?
if not i can enter it when the other data is enterered but am unsure of the syntax. when i tried getdate() id didn't work do I need to put anything in the () part or am i completely barking up the wrong tree/
Any help appreciated