Did you find this useful?
Socialize it today.


MySQL NOW Function

Wednesday, December 21, 2011

tags SQL

The MySQL NOW function is used to display the current date and time. The equivalent function in Microsoft SQL Server is GETDATE.

Syntax

NOW()


Example
SELECT NOW() as [Date / Time]


Results

Date / Time
2011-12-13 20:15:05

Please help us spread the word by socializing it today!

email contact us

Did you find something wrong with the information on this page? Please take a moment to report it to us so that we can continue to improve the quality of the information on this site. Click here to report an issue with this page.



Recommended Books & Training Resources

Head First SQL: Your Brain on SQL A Learners Guide SQL Cookbook