presto-main/src/main/java/io/prestosql/SystemSessionProperties.java/SystemSessionProperties/isLegacyTimestamp
class SystemSessionProperties:    public static boolean isLegacyTimestamp(Session session)
    {
        return session.getSystemProperty(LEGACY_TIMESTAMP, Boolean.class);
    }