Skip to main content
Version: Java (Groovy)

epochMicrosToInstant

epochMicrosToInstant converts a value of microseconds from Epoch to a date-time.

Syntax

epochMicrosToInstant(micros)

Parameters

ParameterTypeDescription
microslong

The microseconds since Epoch.

Returns

A date-time representing microseconds since Epoch.

Examples

datetime = epochMicrosToInstant(1641013200000)
println datetime