ms_datetime_extensions 1.1.0 copy "ms_datetime_extensions: ^1.1.0" to clipboard
ms_datetime_extensions: ^1.1.0 copied to clipboard

A simple and usefull lib to incremease DateTime with usefull functions

example/main.dart

import 'package:ms_datetime_extensions/ms_datetime_extensions.dart';

Future<void> main(List<String> args) async {
  var xmas = DateTime(2020, 12, 25, 15, 00); // Friday 25 december of 2020
  var nextFriday =
      xmas.nextDayOfTheWeek(DateTime.friday); // Friday 01 january of 2021
  print(nextFriday);

  var myDateTimeFromInternet = await dateTimeFromInternet();
  print(myDateTimeFromInternet);
}
6
likes
140
points
62
downloads

Publisher

verified publishermarcussoftware.info

Weekly Downloads

A simple and usefull lib to incremease DateTime with usefull functions

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http

More

Packages that depend on ms_datetime_extensions