Name
MICROSECOND( )
Synopsis
MICROSECOND(time
)
This function extracts the microseconds value of a given time. This function is available as of Version 4.1.1 of MySQL.
SELECT MICROSECOND('2005-01-11 19:28:45.80') AS 'MicroSecond'; +--------------+ | MicroSecond | +--------------+ | 800000 | +--------------+
Get MySQL in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.