Javatpoint Logo
Javatpoint Logo

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




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA