presto-main/src/main/java/io/prestosql/connector/system/TaskSystemTable.java/TaskSystemTable/toTimeStamp
class TaskSystemTable:    private static Long toTimeStamp(DateTime dateTime)
    {
        if (dateTime == null) {
            return null;
        }
        return dateTime.getMillis();
    }