Computers & ProgrammingBackend DevelopmentSQL

MySQL CURTIME Function

The MySQL CURTIME function is used to display the current time. The equivalent function in Microsoft SQL Server is GETDATE, but would require formatting with the CONVERT function.

Syntax

CURTIME()

Example

SELECT CURTIME() as [Time]

Results

20:15:05

Leave a Comment

Your email address will not be published.

Scroll to Top