date_util 0.1.4 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
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
. 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';