HI
Im using the curent latest stable version of mysql on a windows platform im using timestamp on a field to keep the latest time of when a record was modified now I want to ad the default date when a record was created, when I used to have my db in access all I did was go into the design of the field and put date() in the default value that would then capture the curent date of the server into the field whenever some1 added a record, no I want to do that in mysql and have tried to put date() and now() into the default value but it keeps on puting 0000-00-00 00:00:00 into the field whenever some1 adds a new record is there any other way I can get the curent date and time from the server of the db in the field so I can keep track of when a record was added or created?
Thanx
Im using the curent latest stable version of mysql on a windows platform im using timestamp on a field to keep the latest time of when a record was modified now I want to ad the default date when a record was created, when I used to have my db in access all I did was go into the design of the field and put date() in the default value that would then capture the curent date of the server into the field whenever some1 added a record, no I want to do that in mysql and have tried to put date() and now() into the default value but it keeps on puting 0000-00-00 00:00:00 into the field whenever some1 adds a new record is there any other way I can get the curent date and time from the server of the db in the field so I can keep track of when a record was added or created?
Thanx