SQL Order by Oldest Unix Timestamps
5 answers
Unix time, or POSIX time, is a system for describing points in time, defined as the number of seconds that have passed since midnight prolepak. Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds
The ORDER BY clause can use ASC or DESC, if you disable it it will use ASC by default:
Most recent timestamps:
SELECT * FROM tableName ORDER BY columnName DESC
Less recent time stamps:
SELECT * FROM tableName ORDER BY columnName ASC
+3
source to share