Today is the first day of summer: at 4:27AM Montreal time, the Earth reached its
most bent toward the Sun moment ie the Solciste, and today will be the longest day
of the year in sunshine hours.. This naturally lends itself to celebration,
and - as for every year - I need to reconfigure how I will dress going into Summer.
Last night I was wondering at what time this Solciste moment was going to happen in, say,
London or Paris. Sure to have ramifications on how people will dress there. The whole sartorial
day is in evolution here.
I could no doubt find a friendly online app to figure all this out for me; but Summer Solciste is
not the only moment when I wonder was might be going on elsewhere on the planet. or need to
know: Is itChristmas there yet, has the day come and gone in Asia and so forth. Long story short,
I could use an app...
Below, a mock-up on what appears when the app is opened. One enters the current time in the
reference place. The date is always D. One also enters the second timezone one is interested in.
On pressing calculate, the time in the target zone should appear and - for day - one of D+, D, D-
thus indicating whether the date is tomorrow, today or yesterday.
That's all I need to know! Now all I need is a friendly AI that will generate the Python code for
me. I expect to have to furnish the Timezone chart, but the code should handle the rest directly!

No comments:
Post a Comment