Is there a way to keep the culture specific date time formatting but force 12/24 hour rendering? I know I can do a lot with the actual date/time format string like HH:mm:ss and hh:mm:ss but I would like to honor the current user culture formatting (i.e. mm/dd/yyyy or yyyy/mm/dd, etc), just force 12/24 hour time rendering.
Is there a way to keep the culture specific date time formatting but force
Share
I’d probably do something like this:
From the chat:
Here is a list of all cultures’ long time pattern strings, and how they would be modified: