dateToTimePoint function

int dateToTimePoint(
  1. String date
)

Convert date in ISO format to time_point (miliseconds since epoch) */

Implementation

int dateToTimePoint(String date) {
  return (checkDateParse(date + 'Z').millisecondsSinceEpoch * 1000).round();
}