[QGIS-Developer] Field calculator: DateTime from Epoch?

Richard Duivenvoorde rdmailings at duif.net
Wed Oct 30 01:53:58 PDT 2019


Hi,

Having a data set (gpkg) with 'seconds since epoch/1970' column, I
thought it would be easy to create a DateTime column from that using the
Field Calculator.

Am I right to conclude that that is missing (that you can only use
'QDatetime.fromString'-string expressions)?
Because if so I will try to add it :-)

Any other ideas?

Else I will just use sql in the geopackage to create a iso-time string
from it, and will then use the Field calculator ...

Thanks,

Richard Duivenvoorde


More information about the QGIS-Developer mailing list