happy birthday to all my fellow privacy-aware folks 🎉

56 years and counting – the only sense in which it is okay to say 'you don't look your age'

#unixepoch #birthday #happynewyear

Thrid lesson of handling dates on computers.

Your day is not "11/8/2025". It's 1.762.560.000.

#UNIX #UnixEpoch #Linux #Computers #SoftwareDevelopment #JavaScript #Backend #Programming #Coding #Code #Rust #Java #Golang #PHP #C #CPlusPlus #Swift #SQL

This was slightly satisfying to observe

#UnixEpoch

An example of why companies should email dates with months spelt in characters instead of numbers.

FedEx UK's system is using US date formats which is confusing in the UK for the first 12 days of every month.

Scheduled delivery was Oct 7th but to the our instinct is to read this email from FedEx UK as 10th July.

#dates #code #language

On the plus side, they aren't using the #unixepoch

Para muchos de vosotros es bien conocido que el momento que los sistemas operativos UNIX utilizan como momento cero desde el que cuentan el tiempo en segundos (la época UNIX, mala traducción de the UNIX epoch) es el 1 de enero de 1970. Pues bien, hoy se cumplen exactamente 20000 días exactos desde ese momento.

Ese momento me lo recordó @[email protected] con una entrada en el que enlaza a otra entrada de @[email protected], que demostraba en R cómo calcular el número entero de días transcurridos desde el 1 de enero de 1970 a partir del número de segundos reportado por el reloj del sistema:

> Sys.setenv(TZ="UTC")> difftime(Sys.Date(), as.Date("1970-01-01"))Time difference of 20000 days

Drang proporcionaba el siguiente código en Bash (también válido en ZSH, o incluso sh; no válido en csh o tcsh):

$ echo $(( $(date +"%s")/86400 ))20000

Yo prefiero hacerlo en Python, donde hay varias maneras de hacerlo:

> # Utilizando división entera sobre la época UNIX> import datetime as dt> dt.datetime.today().timestamp()//8640020000.0

Pero también se puede hacer usando los códigos de formateo de fechas de la función date de UNIX (los mismos que utiliza el comando date):

> # Utilizando división entera sobre la época UNIX> import datetime as dt> int(dt.datetime.strftime(dt.datetime.today(), format="%s"))//8640020000

Y una forma más de demostrar que hoy, 4 de octubre de 2024, es el día 20000 de la época UNIX:

> import datetime as dt> dt.datetime(1970,1,1)+dt.timedelta(days=20000)datetime.datetime(2024, 10, 4, 0, 0)

¡Feliz vigésimo milésimo día!

https://santander-vela.net/2024/10/04/feliz-20000-dias-de-viaje-unixino/

#20000 #bash #Python #R #shell #Unix #UNIXEpoch #UNIXTime

#OBS needs a default plug-in that displays at small colored light that softly changes color according to the #unixepoch. That way, video creation time and date can be subtly recorded for later analysis and synchronization, especially for live events.

Something like this HTML color code #clock would be a start: https://colorkit.co/color-clock/

Hex Color Clock - ColorKit

Online hexadecimal color clock that transforms from hex color #000000 to #235959 through a 24 hour period.

ColorKit

#unixepoch = 1717171717 🥳

#epoch #time #jan1970

@damieng Except the fact that most people don't know why #Y2K38 is a thing. #UNIXepoch

I just made a major life decision.
I want to be retired before 2038.
Anybody remember #y2k?

#IT #unixEpoch #endOftheWorld #y2038