|
|
|
|
|
by kedean
1883 days ago
|
|
That does assume your database only allows unix-style timestamps. MariaDB, for example, has "datetime", supporting dates between the year 1000 and 9999, distinct from null/zero. Unfortunately, datetime takes 8 bytes vs the 4 for a timestamp. |
|