Home » MySQL microsecond() Function

MySQL microsecond() Function

by Online Tutorials Library

MySQL Date/Time microsecond() Function

The microsecond() is a MySQL date/time function. It is used to get the value of microsecond from given datetime or time.

Syntax

Parameter:

Date_value: datetime or time value for getting microsecond.

Returns:

This function returns the microsecond portion of a date value.

Example 1

Output:

MySQL Datetime microsecond() Function

Example 2

Output:

MySQL Datetime microsecond() Function

Next TopicMySQL datetime

You may also like