how to get timestamp in dart code example Example: dart timestamp Click to copyvoid main() { print(new DateTime.now().millisecondsSinceEpoch); }