The MySQL NOW function is used to display the current date and time. The equivalent
function in Microsoft SQL Server is GETDATE.
Syntax
Example
SELECT NOW() as [Date / Time]
|
Results
Date / Time |
2011-12-13 20:15:05 |
Did you find the page informational and useful? Share it using one of your favorite social sites.
Recommended Books & Training Resources