date_util 0.1.4 icon indicating copy to clipboard operation
date_util: ^0.1.4 copied to clipboard

A simple dart API with a complete set of date helper methods not available in the DateTime API hence, production is made easier when working with dates.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add date_util

With Flutter:

 $ flutter pub add date_util

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

dependencies:
  date_util: ^0.1.4

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:date_util/date_util.dart';
23
likes
70
pub points
93%
popularity

Publisher

unverified uploader

A simple dart API with a complete set of date helper methods not available in the DateTime API hence, production is made easier when working with dates.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on date_util