perishthethought@lemm.ee to Programmer Humor@lemmy.mlEnglish · 1 year agoI think my code will be OK...i.imgflip.comimagemessage-square52fedilinkarrow-up1332arrow-down17file-text
arrow-up1325arrow-down1imageI think my code will be OK...i.imgflip.comperishthethought@lemm.ee to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square52fedilinkfile-text
minus-squareprojectmoon@lemm.eelinkfedilinkarrow-up8·1 year agoBut wouldn’t you calculate the time in the future in the right time zone and then store it back as UTC?
minus-square48954246@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agoIt depends on the application. I don’t remember all the specifics but this is the blog post I refer to when this topic comes up https://codeblog.jonskeet.uk/2019/03/27/storing-utc-is-not-a-silver-bullet/
But wouldn’t you calculate the time in the future in the right time zone and then store it back as UTC?
It depends on the application.
I don’t remember all the specifics but this is the blog post I refer to when this topic comes up
https://codeblog.jonskeet.uk/2019/03/27/storing-utc-is-not-a-silver-bullet/