DateTime.from_unix_epoch_utc_usecs


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.18" ) ]
public DateTime.from_unix_epoch_utc_usecs (int64 usecs)

Creates a new DateTime using the time since Jan 1, 1970 specified by usecs.

The DateTime is in UTC.

Parameters:

usecs

microseconds from the Unix epoch

Returns:

a newly created DateTime, or null on error.




2022 vala-language.org