Tag Archives: time

Prevent time drift in Docker with docker-time-sync-agent

Today, at work, a colleague of mine ran into some time issues with his Docker containers: the time was clearly off. Turns out it’s a common problem: Docker’s daemon fails to update the VM’s time after computer wakes up from … Continue reading

Elsewhere , , Leave a comment

How and why the leap second affected Cloudflare DNS

At midnight UTC on New Year’s Day, deep inside Cloudflare’s custom RRDNS software, a number went negative when it should always have been, at worst, zero. A little later this negative value caused RRDNS to panic. This panic was caught … Continue reading

Elsewhere , , , Leave a comment

Carbon – A simple PHP API extension for DateTime.

$carbon = new Carbon(‘first day of next week’); if ($carbon->isWeekend()) { echo ‘Party!’; } echo $carbon->addYear()->diffForHumans(); // ‘in 1 year’ Carbon is just a class which is designed to be used instead of DateTime. Due to extending DateTime, all DateTime … Continue reading

Elsewhere , , , Leave a comment

June 2015 Leap Second

Today a positive leap second will be introduced, as per IERS announcement: To authorities responsible for the measurement and distribution of time: UTC TIME STEP on the 1st of July 2015. A positive leap second will be introduced at the … Continue reading

Elsewhere , , 1 Comment

Falsehoods programmers believe about time and time zones

Every day has 24 hours Every day without DST changes is 86400 (60 * 60 * 24) seconds long Every day in UTC is 86400 (60 * 60 * 24) seconds long Week one of a year starts in January … Continue reading

Elsewhere , , Leave a comment

A Clock that Writes The Time

Cute 🙂

Elsewhere , Leave a comment

Real life clock

Mesmerizing. http://iprl.wz.cz/ → (via OrT)

Elsewhere , , , Leave a comment

Moment.js

A lightweight javascript date library for parsing, manipulating, and formatting dates. Moment.js →

Elsewhere , , , Leave a comment