Click here to Skip to main content
15,888,271 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Luschan17-Jul-22 5:54
Luschan17-Jul-22 5:54 
JokeRe: We're not all in the US: Annual rant about dates Pin
Charles Gallo15-Jul-22 1:00
Charles Gallo15-Jul-22 1:00 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Alister Morton15-Jul-22 6:05
Alister Morton15-Jul-22 6:05 
GeneralRe: We're not all in the US: Annual rant about dates Pin
theoldfool15-Jul-22 2:29
professionaltheoldfool15-Jul-22 2:29 
GeneralRe: We're not all in the US: Annual rant about dates Pin
MSBassSinger15-Jul-22 8:14
professionalMSBassSinger15-Jul-22 8:14 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Andreas Mertens15-Jul-22 10:34
professionalAndreas Mertens15-Jul-22 10:34 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Ralf Quint15-Jul-22 13:43
Ralf Quint15-Jul-22 13:43 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Daniel Pfeffer14-Jul-22 6:59
professionalDaniel Pfeffer14-Jul-22 6:59 
In comments, I have long used yyyy-MMM-dd format (e.g. 2022-Jul-14). When dating documents, I use dd-MMM-yyyy (e.g. 14-Jul-2022). When storing dates (e.g. in a database) I store UT, converting from the current time zone when necessary. When displaying dates in a program, I use the current locale, converting from UT to the local time zone.

This doesn't solve all issues - conversion between time zones can be problematic, but is "good enough" for most of my needs.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.

GeneralRe: We're not all in the US: Annual rant about dates Pin
jmaida14-Jul-22 9:37
jmaida14-Jul-22 9:37 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Chris Maunder14-Jul-22 9:51
cofounderChris Maunder14-Jul-22 9:51 
GeneralRe: We're not all in the US: Annual rant about dates Pin
jmaida14-Jul-22 11:42
jmaida14-Jul-22 11:42 
GeneralRe: We're not all in the US: Annual rant about dates Pin
David O'Neil14-Jul-22 10:52
professionalDavid O'Neil14-Jul-22 10:52 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Daniel Pfeffer14-Jul-22 11:09
professionalDaniel Pfeffer14-Jul-22 11:09 
GeneralRe: We're not all in the US: Annual rant about dates Pin
David O'Neil14-Jul-22 11:13
professionalDavid O'Neil14-Jul-22 11:13 
GeneralRe: We're not all in the US: Annual rant about dates Pin
obermd14-Jul-22 17:30
obermd14-Jul-22 17:30 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Indivara14-Jul-22 17:58
professionalIndivara14-Jul-22 17:58 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Chris Maunder15-Jul-22 4:00
cofounderChris Maunder15-Jul-22 4:00 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Mike Winiberg14-Jul-22 22:05
professionalMike Winiberg14-Jul-22 22:05 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Gian Paolo14-Jul-22 22:34
Gian Paolo14-Jul-22 22:34 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Cpichols15-Jul-22 4:36
Cpichols15-Jul-22 4:36 
GeneralRe: We're not all in the US: Annual rant about dates Pin
RooN3y14-Jul-22 22:37
RooN3y14-Jul-22 22:37 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Chris Maunder15-Jul-22 3:59
cofounderChris Maunder15-Jul-22 3:59 
GeneralRe: We're not all in the US: Annual rant about dates Pin
englebart15-Jul-22 6:53
professionalenglebart15-Jul-22 6:53 
GeneralRe: We're not all in the US: Annual rant about dates Pin
GuyThiebaut14-Jul-22 22:54
professionalGuyThiebaut14-Jul-22 22:54 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Chris Maunder15-Jul-22 3:56
cofounderChris Maunder15-Jul-22 3:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.