Answers for "datetime get seconds dart"

3

flutter get millis time

void main() {
  print(DateTime.now().millisecondsSinceEpoch);
}
Posted by: Guest on December-16-2020
0

convert seconds to minutes in Dart

d = Duration(days: 0, hours: 1, minutes: 10, microseconds: 500);
d.toString();  // "1:10:00.000500"
Posted by: Guest on June-26-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language