> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting a Custom Date Format on a Column in Workbench 4

<Warning>
  **Important:** Support for Workbench 4 ended on **April 15, 2021**. Workbench may continue to run on installed machines, but it will no longer receive feature enhancements and security updates. When issues are encountered in Workbench 4, the recommended course of action from the Domo Support team will be to upgrade to the latest version of Workbench 5. To see this article for Workbench 5, click [**here**](/s/article/360043437473).
</Warning>

You can set a custom date format for a specified column in a DataSet job in Workbench 4. You do this by adding the **Custom Date Format** transform to the DataSet job and then selecting the column and specifying the desired date format.

<Frame>
  <img alt="wb4_transform_customdate.png" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/7Nd5Hb-h9pITriJg/images/kb/ka05w00000123qM-00N5w00000Ri7BU-0EM5w000005vPJt.png?fit=max&auto=format&n=7Nd5Hb-h9pITriJg&q=85&s=67e9163f8ad310db358840a87d2ae982" width="537" height="123" data-path="images/kb/ka05w00000123qM-00N5w00000Ri7BU-0EM5w000005vPJt.png" />
</Frame>

**Training Video - Setting a Custom Date Format**

Learn how to apply a custom date format transform to your data in Workbench 4.

<iframe allowfullscreen="" frameborder="0" height="315" src="//player.vimeo.com/video/412867544" width="560" />

**To set a custom date format for a column in Workbench 4,**

1. In the
   **Accounts** pane, select the DataSet job in which you want to set a custom date format.
2. In the
   **Transforms** grouping in the Buttons toolbar at the top of the Workbench window, click **Add New**.
3. In the
   **Transform Type** menu, select **Custom Date Format** then click **Next**.
4. Click
   **Finish**.

   A **Custom Date Format** item is added under **Transforms** for this DataSet job.
5. Click on the new
   **Custom Date Format** item under **Transforms**.

   **Custom Date Format** options now appear in the Dynamic Options panel.
6. In
   **Columns**, select the column in which you want to set a custom date format.
7. In the
   **Date Format** field, enter the desired date format.

   For a list of accepted date formats, see the next section.
8. Click
   **Save** in the **DataSet Jobs** grouping in the Buttons toolbar at the top of the Workbench window.

### Date format specifiers

You can either have Workbench automatically parse date formats or you can specify the date formats used in your data for columns containing dates and times.

* If you do not specify the date format, Workbench uses your current locale settings to parse date strings. In this auto-mode, various formats are supported, based on the locale.

  For example, in the US locale, the following formats are supported:

  * 2013-04-17 12:34:56
  * 4/17/2013 12:34:56
  * April 17, 2013
  * April 17, 2013 12:34 PM
  * 2013-04-17 12:34:56.123456

* If you specify a date format, Workbench uses the specified date format to parse date strings.

  For example, suppose your current locale settings are for Australia and the dates in your data are formatted as day, month, and year using ":" as the separator rather than "/" (as in " 10:10:2013 "). Because the "auto" mode for Australia does not support using ":" as the separator, you would specify the date format string as d:M:yyyy to properly parse the dates.

  <Note>
    **Note:** Dates in your data must match the specified format *exactly*.
  </Note>

A custom format string consists of one or more custom date and time format specifiers.

Refer to the following table for the date formats available in Workbench 4:

<table border="1" cellpadding="1" cellspacing="1" data-aura-rendered-by="33:195;a"><thead><tr><th colspan="1" rowspan="1"><p> Specifier </p></th><th colspan="1" rowspan="1"><p> Description </p></th></tr></thead><tbody><tr><td colspan="1" rowspan="1"><p><code> d </code></p></td><td colspan="1" rowspan="1"><p> Day of month, numeric (1-31) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> dd </code></p></td><td colspan="1" rowspan="1"><p> Day of month, numeric (01-31) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> ddd </code></p></td><td colspan="1" rowspan="1"><p> Day of week abbreviated name (Sun-Sat) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> dddd </code></p></td><td colspan="1" rowspan="1"><p> Day of week full name (Sunday-Saturday) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> f </code></p></td><td colspan="1" rowspan="1"><p> Tenths of a second (0-9) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> ff </code></p></td><td colspan="1" rowspan="1"><p> Hundreths of a second (00-99) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> fff </code></p></td><td colspan="1" rowspan="1"><p> Milliseconds of a second (000-999) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> ffff </code></p></td><td colspan="1" rowspan="1"><p> Ten thousandths of a second (0000-9999) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> fffff </code></p></td><td colspan="1" rowspan="1"><p> Hundred thousandths of a second (00000-99999) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> ffffff </code></p></td><td colspan="1" rowspan="1"><p> Millionths of a second (000000-999999) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> fffffff </code></p></td><td colspan="1" rowspan="1"><p> Ten millionths of a second (0000000-9999999) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> F </code></p></td><td colspan="1" rowspan="1"><p> Tenths of a second if non-zero (-9) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> FF </code></p></td><td colspan="1" rowspan="1"><p> Hundreths of a second if non-zero (-99) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> FFF </code></p></td><td colspan="1" rowspan="1"><p> Milliseconds of a second if non-zero (-999) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> FFFF </code></p></td><td colspan="1" rowspan="1"><p> Ten thousandths of a second if non-zero (-9999) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> FFFFF </code></p></td><td colspan="1" rowspan="1"><p> Hundred thousandths of a second if non-zero (-99999) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> FFFFFF </code></p></td><td colspan="1" rowspan="1"><p> Millionths of a second if non-zero (-999999) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> FFFFFFF </code></p></td><td colspan="1" rowspan="1"><p> Ten millionths of a second if non-zero (-9999999) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> g </code>, <code> gg </code></p></td><td colspan="1" rowspan="1"><p> Period or era (such as A.D.) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> h </code></p></td><td colspan="1" rowspan="1"><p> Hour (1-12) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> hh </code></p></td><td colspan="1" rowspan="1"><p> Hour (01-12) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> H </code></p></td><td colspan="1" rowspan="1"><p> Hour (0-23) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> HH </code></p></td><td colspan="1" rowspan="1"><p> Hour (00-23) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> K </code></p></td><td colspan="1" rowspan="1"><p> Time zone information </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> m </code></p></td><td colspan="1" rowspan="1"><p> Minutes, numeric (0-59) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> mm </code></p></td><td colspan="1" rowspan="1"><p> Minutes, numeric (00-59) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> M </code></p></td><td colspan="1" rowspan="1"><p> Month, numeric (1-12) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> MM </code></p></td><td colspan="1" rowspan="1"><p> Month, numeric (01-12) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> MMM </code></p></td><td colspan="1" rowspan="1"><p> Month abbreviated name (Jan-Dec) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> MMMM </code></p></td><td colspan="1" rowspan="1"><p> Month full name (January-December) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> s </code></p></td><td colspan="1" rowspan="1"><p> Seconds (0-59) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> ss </code></p></td><td colspan="1" rowspan="1"><p> Seconds (00-59) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> t </code></p></td><td colspan="1" rowspan="1"><p> AM or PM first character (A or P) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> tt </code></p></td><td colspan="1" rowspan="1"><p> AM or PM </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> y </code></p></td><td colspan="1" rowspan="1"><p> Year, one digit minimum (0-99) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> yy </code></p></td><td colspan="1" rowspan="1"><p> Year, two digits (00-99) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> yyy </code></p></td><td colspan="1" rowspan="1"><p> Year, three digits minimum (000-999) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> yyyy </code></p></td><td colspan="1" rowspan="1"><p> Year, four digits minimum (0000-9999) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> yyyyy </code></p></td><td colspan="1" rowspan="1"><p> Year, five digits (00000-99999) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> z </code></p></td><td colspan="1" rowspan="1"><p> Local timezone hours offset from UTC (such as -7) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> zz </code></p></td><td colspan="1" rowspan="1"><p> Local timezone hours offset from UTC (such as -07) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> zzz </code></p></td><td colspan="1" rowspan="1"><p> Local timezone hours and minutes offset from UTC (such as -07:00) </p></td></tr><tr><td colspan="1" rowspan="1"><p><code>: </code></p></td><td colspan="1" rowspan="1"><p> Time separator </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> / </code></p></td><td colspan="1" rowspan="1"><p> Date separator </p></td></tr><tr><td colspan="1" rowspan="1"><p><code> " <em> string </em> " </code><br /><code> ' <em> string </em> ' </code></p></td><td colspan="1" rowspan="1"><p> Literal string delimiter in single or double quotes. </p></td></tr><tr><td colspan="1" rowspan="1"><p> % </p></td><td colspan="1" rowspan="1"><p> Precedes a custom format specifier character </p></td></tr><tr><td colspan="1" rowspan="1"><p> \ </p></td><td colspan="1" rowspan="1"><p> Precedes specifier character so it appears in result </p></td></tr><tr><td colspan="1" rowspan="1"><p> Non-specifier character </p></td><td colspan="1" rowspan="1"><p> Appears in result </p></td></tr></tbody></table>
