timezone 0.11.0 copy "timezone: ^0.11.0" to clipboard
timezone: ^0.11.0 copied to clipboard

Time zone databases and time zone aware `DateTime`.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add timezone

With Flutter:

 $ flutter pub add timezone

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  timezone: ^0.11.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:timezone/timezone.dart';
553
likes
160
points
1.39M
downloads

Publisher

unverified uploader

Weekly Downloads

Time zone databases and time zone aware `DateTime`.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

http, path

More

Packages that depend on timezone