getTimestamp function

int getTimestamp()

Get current time stamp

Implementation

int getTimestamp() {
  var date = DateTime.now().millisecondsSinceEpoch / 1000;
  return date.floor() - 1514764800;
}