Skip to content

Blasanka/dart_days

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

DateTime manipulation package with Flutter and Dart

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages