Date/Time values
Just out of curiousity....
So I have a new developer I'm bringing up to speed, doing some API/webhook stuff for me, and the question was asked: "Does the DB use UTC for its DateTime fields?"
Now, having been looking at the webhooks tables recently, I know this is a trick question, because the answer is 'it depends'.
I was wondering if you'd ever considered moving to using DateTimeOffset for storing date/time values, seeing as it is the only date/time datatype that is "unambiguous"?
(it's been my preference in any new development for some years now)
So I have a new developer I'm bringing up to speed, doing some API/webhook stuff for me, and the question was asked: "Does the DB use UTC for its DateTime fields?"
Now, having been looking at the webhooks tables recently, I know this is a trick question, because the answer is 'it depends'.
I was wondering if you'd ever considered moving to using DateTimeOffset for storing date/time values, seeing as it is the only date/time datatype that is "unambiguous"?
(it's been my preference in any new development for some years now)