Help Guide For Software Engineer
Wednesday, February 2, 2011
Mysql Current date & time
Use the Mysql server curdate() and curtime() functions to get current date & time values from the system.
Below SQL demos, the usage of the functions.
insert into test(cur_date,cur_time) values(curdate(),curtime());
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment