int dateToTimestap(String stringDate) { return ((DateTime.parse(addMissingTz(stringDate)).millisecondsSinceEpoch) ~/ 1000) .toInt(); }