# <es:date> Tag

Use the <es:date> tag to get a date- and time-formatted String based on the user's time zone preference.

## Syntax

<tagName attribute="value" />

## Attributes

timeZoneId

Optional (String) - Defaults to the time zone on the server.

formatStr

Optional (String) - A date and time format string that adheres to the java.text.SimpleDateFormat. The default value is "MM dd yyyy hh:mm a".

## Example

    <es:date formatStr="MMMM dd yyyy" timeZoneId="MST" />