sloth_datetime 1.0.0+1 copy "sloth_datetime: ^1.0.0+1" to clipboard
sloth_datetime: ^1.0.0+1 copied to clipboard

Extensions for the DateTime class

example/sloth_datetime_example.dart

import 'package:sloth_datetime/sloth_datetime.dart';

void main() {
  // get secondsSinceEpoch
  int seconds = DateTime.now().secondsSinceEpoch;
  print("Seconds since epoch $seconds s");
}
1
likes
150
points
0
downloads

Publisher

verified publisherynnob.com

Weekly Downloads

Extensions for the DateTime class

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on sloth_datetime