Overview
TheUNIX_MICROS() function returns a given timestamp into a UNIX timestamp in microseconds, from 1970-01-01 00:00:00-00 (can be negative). Its syntax is illustrated below:
BIGINT representing time in microseconds.
Examples
Case #1: Basic UNIX_MICROS() function
The below example uses the UNIX_MICROS() function to convert a given timestamp into a UNIX timestamp in microseconds: