Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/19 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

Retrieve

Retrieves an array of time zones based on the specified criteria

Retrieve(1)

OrdinalTypeDescription
1stringRequiredCriteria to search for the list

This sample code retrieves an array of time zones based on the specified filter criteria. If you include no filter, the function will return an array of all time zones.