3 ms·
And a related mnemonic: The number of seconds per day, in modern programming language notation, is 864e2 (That's 8-6-4-2 with an 'e' inserted before the last di
by beagle3 8y ago
And a related mnemonic: The number of seconds per day, in modern programming language notation, is 864e2 (That's 8-6-4-2 with an 'e' inserted before the last digit).
I generally prefer to have a SECS_PER_DAY constant, or write (24 * 60 * 60) to make the value clear, but when code golfing, and as a mnemonic, I remember that SECS_PER_DAY=86400=864e2