QGIS/resources/function_help/json/datetime_from_epoch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
633 B
Plaintext
Raw Permalink Normal View History

{
"name": "datetime_from_epoch",
"type": "function",
2020-07-02 01:46:48 +01:00
"groups": ["Date and Time"],
"description": "Returns a datetime whose date and time are the number of milliseconds, msecs, that have passed since 1970-01-01T00:00:00.000, Coordinated Universal Time (Qt.UTC), and converted to Qt.LocalTime.",
"arguments": [{
"arg": "int",
"description": "number (milliseconds)"
}],
"examples": [{
"expression": "datetime_from_epoch(1483225200000)",
"returns": "2017-01-01T00:00:00"
}],
"tags": ["passed", "datetime", "localtime", "msecs", "date", "coordinated", "converted", "universal", "milliseconds", "time"]
}