DateTime.from_unix_epoch_local_time


Description:

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

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

The DateTime is in the local timezone.

Parameters:

secs

seconds from the Unix epoch

Returns:

the newly created DateTime, or null on error.




2022 vala-language.org