Click or drag to resize

OSGetDatetimeFromUnixTime Method

Gets a dictionary of time values corresponding to the given UNIX epoch time (in seconds).

The returned Dictionary's values will be the same as GetDatetime(Boolean), with the exception of Daylight Savings Time as it cannot be determined from the epoch.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static Dictionary GetDatetimeFromUnixTime(
	long unixTimeVal
)

Parameters

unixTimeVal
Type: SystemInt64

[Missing <param name="unixTimeVal"/> documentation for "M:Godot.OS.GetDatetimeFromUnixTime(System.Int64)"]

Return Value

Type: Dictionary

[Missing <returns> documentation for "M:Godot.OS.GetDatetimeFromUnixTime(System.Int64)"]

See Also