DateTime.from_unix_epoch_utc


Description:

[ CCode ( has_construct_function = false ) ]
public DateTime.from_unix_epoch_utc (int64 secs)

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

The DateTime is in the UTC timezone.

Parameters:

secs

seconds from the Unix epoch

Returns:

the newly created DateTime, or null on error.