getTimestamp function
Get current time stamp
Implementation
int getTimestamp() {
var date = DateTime.now().millisecondsSinceEpoch / 1000;
return date.floor() - 1514764800;
}
Get current time stamp
int getTimestamp() {
var date = DateTime.now().millisecondsSinceEpoch / 1000;
return date.floor() - 1514764800;
}