Created
October 5, 2020 13:39
-
-
Save davidsheardown/d3d69c24c9cd340e2874ee37b437fb40 to your computer and use it in GitHub Desktop.
Return ISO date the easy way!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Replace "getdate()" with whatever date you need i.e. a field | |
*/ | |
select convert(nvarchar(17),getdate(),127)+'00.00Z' as myISOdate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment