EnergyLevel
Technical User
I'm trying to use datetime with a MySQL 3.23 DB to record the date that each record is created, I've tried creating a table using
`date` datetime NOT NULL default 'NOW()',
`date` datetime NOT NULL default 'CURRENT_DATE',
`date` datetime NOT NULL default 'CURRENT_TIMESTAMP',
Anyone an idea how to do this with MySQL 3.23 each time I tried the default value reverted back to 00-00-00 00:00:00 and the current date/time is not recorded when records are created \????
Thanks .....
`date` datetime NOT NULL default 'NOW()',
`date` datetime NOT NULL default 'CURRENT_DATE',
`date` datetime NOT NULL default 'CURRENT_TIMESTAMP',
Anyone an idea how to do this with MySQL 3.23 each time I tried the default value reverted back to 00-00-00 00:00:00 and the current date/time is not recorded when records are created \????
Thanks .....