Project: QGIS

Version: 3.12

Feature: Add datetime_from_epoch (MSec from epoch) expression function

  • datetime_from_epoch(1483225200000) → 2017-01-01T00:00:00 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.

Adds a function to create a DateTime from a seconds since epoch timestamp, to be used in expresssions As there is an 'epoch' function working in MilliSeconds (and the original Qt function also does MilliSeconds, I create it to use mSecs).

This feature was developed by Richard Duivenvoorde