fromUTC
Convert a UTC datetime to a local datetime in the specified timezone.
datetime(required): UTC datetimetimezone(required): target timezone ID (e.g., "America/New_York")
bash
echo '{"utc": "2026-05-01T14:00:00Z"}' | utlx -e 'fromUTC(parseDate($input.utc, "yyyy-MM-dd'\''T'\''HH:mm:ss'\''Z'\''"), "Europe/Amsterdam")'
# "2026-05-01T16:00:00+02:00"utlx
{
localTime: fromUTC(now(), "Asia/Tokyo")
}