Tag : 1900

Title User Language Tags Description Date
Get time since Jan 1st 1900 from server. Aphex19 C++ This is a pretty long "snippet", but I think it's pretty cool. It requests 4 bytes of data from "time-nw.nist.gov" on port 37, which returns the time in seconds since midnight on Jan 1st 1900, then prints out the time in various formats. WARNING: Do not make requests from this server more than once every 4 seconds (i.e. don't run this program more than once every 4 seconds), or you may be considered to be doing a DOS attack and your IP may be blocked. May 28, 2011
proleptic Gregorian dates and strftime before 1900 Andrew Dalke python

A strftime implementation that supports proleptic Gregorian dates before 1900

October 2, 2004