Skip to content

Instantly share code, notes, and snippets.

@scriptingstudio
Last active January 6, 2023 18:58
Show Gist options
  • Save scriptingstudio/fd45762cbc057caf4fe974735ac68ada to your computer and use it in GitHub Desktop.
Save scriptingstudio/fd45762cbc057caf4fe974735ac68ada to your computer and use it in GitHub Desktop.
Safe date format
# safe (culture invariant) date format - ISO 8601 - YYYY-MM-DD
[datetime]::now.tostring('yyyy-MM-dd')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment