OSGetUnixTimeFromDatetime Method |
Gets an epoch time value from a dictionary of time values.
datetime must be populated with the following keys: year, month, day, hour, minute, second.
If the dictionary is empty 0 is returned.
You can pass the output from GetDatetimeFromUnixTime(Int64) directly into this function. Daylight Savings Time (dst), if present, is ignored.
Namespace: Godot
public static long GetUnixTimeFromDatetime( Dictionary datetime )
[Missing <param name="datetime"/> documentation for "M:Godot.OS.GetUnixTimeFromDatetime(Godot.Collections.Dictionary)"]
[Missing <returns> documentation for "M:Godot.OS.GetUnixTimeFromDatetime(Godot.Collections.Dictionary)"]