Date.timestamp_micros
Date.timestamp_micros
Function
Reads the microsecond Unix timestamp of the current Date.
Syntax
date_value.timestamp_micros()
Parameters
No parameters.
Return value
| Type | Description |
|---|---|
| Int | Returns a Unix timestamp in microseconds. |
Code Example
result = date().from_timestamp(1).timestamp_micros() // Output: 1000000
Notes
- To read the microsecond part of the current second, use micros().