Today's news and then daily build - MoreDateTime
-
Sounds like someone here tried to resolve today's insider news [xkcd: DateTime](https://xkcd.com/2867) [MoreDateTime - ExtendedDateTime Extension Library for .NET](https://www.codeproject.com/Articles/5369084/MoreDateTime-ExtendedDateTime-Extension-Library-fo)
-
Sounds like someone here tried to resolve today's insider news [xkcd: DateTime](https://xkcd.com/2867) [MoreDateTime - ExtendedDateTime Extension Library for .NET](https://www.codeproject.com/Articles/5369084/MoreDateTime-ExtendedDateTime-Extension-Library-fo)
mmm "retired author?" that's new. @sean-ewington wanna have a look?
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
-
mmm "retired author?" that's new. @sean-ewington wanna have a look?
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
Weird. All fixed.
Thanks, Sean Ewington CodeProject
-
Sounds like someone here tried to resolve today's insider news [xkcd: DateTime](https://xkcd.com/2867) [MoreDateTime - ExtendedDateTime Extension Library for .NET](https://www.codeproject.com/Articles/5369084/MoreDateTime-ExtendedDateTime-Extension-Library-fo)
I really don't understand this one, I have solved this kind of problem multiple times in different languages on different platforms.
-
I really don't understand this one, I have solved this kind of problem multiple times in different languages on different platforms.
Julian Ragan wrote:
I have solved this kind of problem multiple times
Really? Did you account for all possible issues: - are T1 and T2 in the same time zone? - did Daylight Saving Time occur between T1 and T2? - did rules for DST changed between T1 and T2? - where any leap second jumps between T1 and T2? Randall knows best :D
Mircea
-
Julian Ragan wrote:
I have solved this kind of problem multiple times
Really? Did you account for all possible issues: - are T1 and T2 in the same time zone? - did Daylight Saving Time occur between T1 and T2? - did rules for DST changed between T1 and T2? - where any leap second jumps between T1 and T2? Randall knows best :D
Mircea
Oh dear, seems I have never needed that much accuracy after all. And in some cases such deliberations would not be possible on target platform.
-
Julian Ragan wrote:
I have solved this kind of problem multiple times
Really? Did you account for all possible issues: - are T1 and T2 in the same time zone? - did Daylight Saving Time occur between T1 and T2? - did rules for DST changed between T1 and T2? - where any leap second jumps between T1 and T2? Randall knows best :D
Mircea
-
And how many commercial breaks were there during that period?
-
Julian Ragan wrote:
I have solved this kind of problem multiple times
Really? Did you account for all possible issues: - are T1 and T2 in the same time zone? - did Daylight Saving Time occur between T1 and T2? - did rules for DST changed between T1 and T2? - where any leap second jumps between T1 and T2? Randall knows best :D
Mircea
Always interchange and compare dates/times in UTC. I wouldn't bother with leap seconds unless you need to know the seconds, and you generally don't.
-
Always interchange and compare dates/times in UTC. I wouldn't bother with leap seconds unless you need to know the seconds, and you generally don't.
I agree with you, but I know some people in the lounge were arguing for using local time. Go figure!
Mircea
-
I agree with you, but I know some people in the lounge were arguing for using local time. Go figure!
Mircea
Say it ain't so. Probably the sort who wear digital watches and read off the exact time to the second. :rolleyes:
-
to continue the Relativistic vein though perhaps you are previously aware it is interesting / curious to note the speed of light is impossible to measure . Why No One Has Measured The Speed Of Light - YouTube[^]
-
Sounds like someone here tried to resolve today's insider news [xkcd: DateTime](https://xkcd.com/2867) [MoreDateTime - ExtendedDateTime Extension Library for .NET](https://www.codeproject.com/Articles/5369084/MoreDateTime-ExtendedDateTime-Extension-Library-fo)
At some point it is not possible to generalize this sort thing. I worked on a system where a work flow needed to be resolved within '3 business days'. So a casual developer is going to look at that and perhaps understand it means 'skip the weekends' But in fact it is quite a bit more complex. - A business day consisted of 8 hours. - Holidays were not business days. (This of course required adding a complete sub-system to allow them to specify holidays.) - A work flow could be started in California but would be viewed and acted upon in New York. So obviously time zones were relevant. Also consider the complications for the following sort of report - Company operates brick and mortar stores across the country - Company has an online site to order products - VP asks for a report that summarizes sales during the 'lunch hour'