KQLiteUnixEpoch

Represents com.kqlite.functions.UNIXEPOCH time stored within a KQLiteTable.unixEpochColumn.

This interface provides a standardized way to handle Unix epoch values, which are stored as integers in SQLite. It extends DateTimeModifier to support date and time modification functions typically using com.kqlite.functions.UNIXEPOCH.

The primary purpose of this interface is to retrieve the timestamp as a Long, representing the number of seconds since the Unix epoch (January 1, 1970).

Example

select(UNIXEPOCH(1758279148877L)).execute()

Author

MOHAMMAD AZIM ANSARI

See also

Functions

Link copied to clipboard
abstract fun getLong(): Long

Returns the Unix epoch timestamp as a Long value.