presto-hive/src/main/java/io/prestosql/plugin/hive/util/Statistics.java/Statistics/getTimestampValue
class Statistics:    private static OptionalLong getTimestampValue(DateTimeZone timeZone, Block block)
    {
        // TODO https://github.com/prestodb/presto/issues/7122
        return block.isNull(0) ? OptionalLong.empty() : OptionalLong.of(MILLISECONDS.toSeconds(timeZone.convertUTCToLocal(block.getLong(0, 0))));
    }