June 2017
Intermediate to advanced
873 pages
18h 9m
English
Proper date-time handling is needed in almost every data context. What does Dart give us to ease working with dates and times? Dart has the excellent built-in classes DateTime and Duration in dart:core. As a few of its many uses, you can do the following:
StopwatchHowever, the DateTime class does not provide internationalization; for this purpose, you need to use the intl package from the Dart team.
The following are some useful techniques (try them out in date_time.dart):
DateTime to a string) to standard formats, but also to any format using the package intl, as ...Read now
Unlock full access