currentTimestampSeconds property

int get currentTimestampSeconds

Gets current timestamp in seconds

Implementation

static int get currentTimestampSeconds => DateTime.now().millisecondsSinceEpoch ~/ 1000;