Adjusting Postgres Databases for British Columbia's Time Zone Changes: Ensuring Accurate Timestamps
Introduction British Columbia’s recent time zone changes have introduced a subtle yet...
Tag archive
Introduction British Columbia’s recent time zone changes have introduced a subtle yet...
TL;DR: Using Model::latest()->first() to get the "latest" record by ID is wrong. latest() orders...
Time is something we deal with constantly in software, but very few people stop to think about how...

Convert Unix Timestamps I would like to introduce you to my free & online Unix timesta...
The TIMESTAMP data type holds values that contain both date and time, fixed at 19 characters. The for...
In unusual circumstances you be faced with a situation where you have long value representation of date-time at hand but you need to query over a timestamp field in MYSQL. Here is a small utility function that converts the long value to a MYSQL TIMESTAMP comparable format. The output from it can easily be passed to the TIMESTAMP function.