Created
November 14, 2020 20:18
-
-
Save ryanbthomas/69713d6e13dee2c2d01f97b41036be29 to your computer and use it in GitHub Desktop.
Formatting JSsript dates in R
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
# my use case was for time in Zulu (or GMT). This is what the Z at the end of the format is doing. | |
a <- lubridate::now(tzone = "GMT") | |
a_str <- format(a, format = "%FT%TZ" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment