HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Return the microsecond part of a datetime
The MICROSECOND() function returns the microsecond part of a time/datetime (from 0 to 999999).
MICROSECOND(datetime)
Parameter | Description |
---|---|
datetime | Required. The time or datetime to extract the microsecond from |
Works in: | From MySQL 4.0 |
---|
Return the microsecond part of a time value:
SELECT MICROSECOND("23:59:59.000045");