3 lines
86 B
Dart
3 lines
86 B
Dart
int secondsSinceEpoch(DateTime time) {
|
|
return time.millisecondsSinceEpoch ~/ 1000;
|
|
} |