> For the complete documentation index, see [llms.txt](https://docs.verbdata.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verbdata.com/tiles/custom-date-formats.md).

# Custom Date Formats

Verb provides preset date formats on collection fields and the ability to create custom date and time formats.  To add a custom format, select the 'custom format' option in the list of formats in the field configuration panel.&#x20;

<div align="left"><img src="/files/urVi3ceW8YDDAkFc53TZ" alt=""></div>

### Date & Time Format Options

| Format Specifier    | Description                                               | Examples                                                                                                                                                         |
| ------------------- | --------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| d                   | <p>The day of the month, from 1 through 31.<br><br></p>   | <p>2009-06-01T13:45:30 -> 1<br><br>2009-06-15T13:45:30 -> 15</p>                                                                                                 |
| dd                  | <p>The day of the month, from 01 through 31.<br></p>      | <p>2009-06-01T13:45:30 -> 01<br><br>2009-06-15T13:45:30 -> 15</p>                                                                                                |
| ddd                 | The abbreviated name of the day of the week.              | 2009-06-15T13:45:30 -> Mon (en-US)                                                                                                                               |
| dddd                | The full name of the day of the week.                     | 2009-06-15T13:45:30 -> Monday (en-US)                                                                                                                            |
| h                   | The hour, using a 12-hour clock from 1 to 12.             | <p>2009-06-15T01:45:30 -> 1<br><br>2009-06-15T13:45:30 -> 1</p>                                                                                                  |
| hh                  | The hour, using a 12-hour clock from 01 to 12.            | <p>2009-06-15T01:45:30 -> 01<br><br>2009-06-15T13:45:30 -> 01</p>                                                                                                |
| H                   | The hour, using a 24-hour clock from 0 to 23.             | <p>2009-06-15T01:45:30 -> 1<br><br>2009-06-15T13:45:30 -> 13</p>                                                                                                 |
| HH                  | <p>The hour, using a 24-hour clock from 00 to 23.<br></p> | <p>2009-06-15T01:45:30 -> 01<br><br>2009-06-15T13:45:30 -> 13</p>                                                                                                |
| m                   | <p>The minute, from 0 through 59.<br></p>                 | <p>2009-06-15T01:09:30 -> 9<br><br>2009-06-15T13:29:30 -> 29</p>                                                                                                 |
| mm                  | The minute, from 00 through 59.                           | <p>2009-06-15T01:09:30 -> 09<br><br>2009-06-15T01:45:30 -> 45</p>                                                                                                |
| M                   | The month, from 1 through 12.                             | 2009-06-15T13:45:30 -> 6                                                                                                                                         |
| MM                  | The month, from 01 through 12.                            | 2009-06-15T13:45:30 -> 06                                                                                                                                        |
| MMM                 | The abbreviated name of the month.                        | <p>2009-06-15T13:45:30 -> Jun (en-US)<br></p>                                                                                                                    |
| MMMM                | The full name of the month.                               | <p>2009-06-15T13:45:30 -> June (en-US)<br></p>                                                                                                                   |
| s                   | The second, from 0 through 59.                            | 2009-06-15T13:45:09 -> 9                                                                                                                                         |
| ss                  | The second, from 00 through 59.                           | 2009-06-15T13:45:09 -> 09                                                                                                                                        |
| t                   | The first character of the AM/PM designator.              | <p>2009-06-15T13:45:30 -> P (en-US)<br></p>                                                                                                                      |
| tt                  | The AM/PM designator.                                     | <p>2009-06-15T13:45:30 -> PM (en-US)<br></p>                                                                                                                     |
| y                   | The year, from 0 to 99.                                   | <p>0001-01-01T00:00:00 -> 1<br><br>0900-01-01T00:00:00 -> 0<br><br>1900-01-01T00:00:00 -> 0<br><br>2009-06-15T13:45:30 -> 9<br><br>2019-06-15T13:45:30 -> 19</p> |
| yy                  | The year, from 00 to 99.                                  | <p>0001-01-01T00:00:00 -> 01<br><br>0900-01-01T00:00:00 -> 00<br><br>1900-01-01T00:00:00 -> 00<br><br>2019-06-15T13:45:30 -> 19</p>                              |
| yyyy                | The year as a four-digit number.                          | <p>0001-01-01T00:00:00 -> 0001<br><br>0900-01-01T00:00:00 -> 0900<br><br>1900-01-01T00:00:00 -> 1900<br><br>2009-06-15T13:45:30 -> 2009</p>                      |
| :                   | The time separator.                                       | <p>2009-06-15T13:45:30 -> : (en-US)<br></p>                                                                                                                      |
| /                   | The date separator.                                       | 2009-06-15T13:45:30 -> / (en-US)                                                                                                                                 |
| \\                  | The escape character.                                     | 2009-06-15T13:45:30 (h \h) -> 1 h                                                                                                                                |
| Any other character | The character is copied to the result string unchanged.   | 2009-06-15T01:45:30 (arr hh:mm t) -> arr 01:45 A                                                                                                                 |
