Convert a DateTime to a Unix Timestamp.
static int unixTimeStamp(DateTime dt) => dt.toUtc().millisecondsSinceEpoch ~/ 1000;