---
schema_version: "1"
id: b6025236e0a411ff550a12746ba2059dc0abd7df8f246d993b58af6a76eac06d
title: Retrieve
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_dateTimeRetrieve.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_dateTimeRetrieve.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: e5b54c11a5c423235285eb48becf5b4b0177cd07901dbacc497f05305381ecae
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Retrieve

## Overview

Retrieves an array of time zones based on the specified criteria

### Syntax

Retrieve(1)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                     |
| ------- | ------ | ------------ | ------------------------------- |
| **1**   | string | **Required** | Criteria to search for the list |

## Example

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.

```
var timezones = DateTime.TimeZone.Retrieve({Property:"ID", SimpleOperator:"equals", Value:1});
```
