gmt 0.8.0 copy "gmt: ^0.8.0" to clipboard
gmt: ^0.8.0 copied to clipboard

Get current datetime in GMT from internet (example.com, google.com or your own urls) and return DateTime in UTC.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add gmt

With Flutter:

 $ flutter pub add gmt

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

dependencies:
  gmt: ^0.8.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:gmt/gmt.dart';
1
likes
160
points
225
downloads

Publisher

verified publisherlamnhan.dev

Weekly Downloads

Get current datetime in GMT from internet (example.com, google.com or your own urls) and return DateTime in UTC.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http, universal_io

More

Packages that depend on gmt