unixepoch property

Expression<int> get unixepoch

Formats this datetime as a unix timestamp - the number of seconds since 1970-01-01 00:00:00 UTC.

This function always returns an integer for seconds, even if the input value has millisecond precision.

Implementation

Expression<int> get unixepoch =>
    DateExtractionOperator._(this, DateExtractionField.unixepoch);