I’m looking to standardise date format outputs in ...
# _general
a
I’m looking to standardise date format outputs in Evergreen: github.com/EUCPilots/evergreen-module/discussions/945. Anyone got thoughts?
💯 3
l
Yes please, I suppose a default and maybe a switch to allow for different formats based on geography might be desired?
m
Using UTC/Zulu is generic for everyone. Mostly I use something like this $culture = [System.Globalization.CultureInfo]::CreateSpecificCulture('en-US') return (get-date).tostring("yyyy/MM/dd hhmmss tt",$culture)