Skip to content

Instantly share code, notes, and snippets.

@spydon
Created August 14, 2023 12:45
Show Gist options
  • Save spydon/687a922ac4a5c777658f6e7afbbdbe37 to your computer and use it in GitHub Desktop.
Save spydon/687a922ac4a5c777658f6e7afbbdbe37 to your computer and use it in GitHub Desktop.
DateTime parsing
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