dart_days 0.0.8 copy "dart_days: ^0.0.8" to clipboard
dart_days: ^0.0.8 copied to clipboard

Simple yet powerful Dart and Flutter Date manipulation package.

Simple yet powerful Dart and Flutter Date manipulation package.

Usage #

A light weight dart library for date manipulation:

import 'package:dart_days/dart_days.dart';
       
void main() {
   var dartDays = DartDays();
   print('Times Ago: ${dartDays.timesAgo(DateTime.parse('2020-01-02'))}');
   print('Times Left: ${dartDays.timesLeft(DateTime.parse('2020-01-02'))}');
   print("Number of days in current month: ${DartDays.numberOfDaysInThisMonth()}");
  print('Days Name of week: ${DartDays.daysNameOfWeek().join(", ")}');
  print('Name of this month ${DartDays.nameOfMonth(1)}');
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
30
pub points
38%
popularity

Publisher

unverified uploader

Simple yet powerful Dart and Flutter Date manipulation package.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on dart_days