Para la India:
SELECT now() AT TIME ZONE 'Asia/Calcutta';
SELECT now()::timestamp AT TIME ZONE 'Asia/Kolkata';
SELECT now()::timestamp AT TIME ZONE '5:30';
Para Nepal:
SELECT now()::timestamp AT TIME ZONE 'Asia/Katmandu';
SELECT now()::timestamp AT TIME ZONE 'NPT';
Para establecer la zona horaria para toda la sesión:
SET time zone 'Asia/Calcutta';
Para restablecerlo (a la zona horaria establecida en postgresql.conf:
RESET time zone;
Encuentre más en las vistas del sistema pg_timezone_names
y pg_timezone_abbrevs
SELECT *
FROM pg_timezone_names
WHERE utc_offset BETWEEN '05:00:00' AND '06:00:00'
ORDER BY utc_offset;
SELECT *
FROM pg_timezone_abbrevs
WHERE utc_offset BETWEEN '05:00:00' AND '06:00:00'
ORDER BY utc_offset;
Manual de PostgreSQL sobre AT TIME ZONE
construir. Acerca de las zonas horarias
.