Created
August 14, 2023 12:45
-
-
Save spydon/687a922ac4a5c777658f6e7afbbdbe37 to your computer and use it in GitHub Desktop.
DateTime parsing
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
main() { | |
final dateString = "2002-02-27T14:00:00-0500"; | |
final date = DateTime.parse(dateString); | |
print(date); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment