I might not know much, but I do know there are 1,440 minutes in a day. 86,400 seconds. Such are the things one commits to memory over a half a life in service to North America’s preeminent periodical concerned with matters of time and dates and the heavens.
If I ask a computer the time(), it will tell me the number of seconds that have passed since January 1, 1970 (don’t ask). As I write this number is 1638967256.
If I want to know what this number will be tomorrow morning at the same time I simply add 86,400 to it: 1639053656.
I can double check that by asking my computer to turn that into a human-readable date:
print strftime("%Y-%m-%d %H:%M", 1639053656);
To which it dutifully replies:
2021-12-09 08:40
But this isn’t a post about coding, it’s a post about how Beau Miles set out to plant 1,440 trees in a day.
Add new comment