Date/Time Modifiers
These specifiers format RECEIVED (server time zone) and RECEIVED_UTC (UTC), including the _S and _MS variants.
Everything after the | is the format, so it can mix text and specifiers: {RECEIVED|%F at %T}.
RECEIVED fields take only this format; other modifiers do not apply to them.
In the examples below, {RECEIVED} is 2023-04-01T09:20:01.000000-07:00.
Date Format
| Spec | Description |
|---|---|
|
Last two digits of the year, 00–99. |
|
Year, for example 2023. |
|
Abbreviated month name. |
|
Full month name. |
|
Month, 01–12. |
|
Day of the month, 01–31. |
|
Day of the month, 1–31, padded with a space. |
|
Equivalent to |
|
Equivalent to |
{RECEIVED|%B %e, %Y} prints April 1, 2023
{RECEIVED|%F} prints 2023-04-01
Weekday Format
| Spec | Description |
|---|---|
|
Abbreviated weekday name. |
|
Full weekday name. |
|
Weekday, 1–7; Monday is 1. |
|
Weekday, 0–6; Sunday is 0. |
{RECEIVED|%A} prints Saturday
Time Format
| Spec | Description |
|---|---|
|
Hour, 00–23. |
|
Hour, 01–12. |
|
Locale equivalent of AM/PM for a 12-hour clock. |
|
Minute, 00–59. |
|
Second, 00–59, followed by the fraction when the timestamp has one. |
|
Equivalent to |
{RECEIVED|%I:%M:%S %p} prints 09:20:01.000000 AM
{RECEIVED_S|%I:%M:%S %p} prints 09:20:01 AM
Time Zone Format
| Spec | Description |
|---|---|
|
Time zone abbreviation. |
|
Offset from UTC, for example |
|
Same as |
Miscellaneous
| Spec | Description |
|---|---|
|
The time as a number of microseconds, for comparing times in SQL.
With |
|
Day of the year, 001–366. |
|
Week of the year, 00–53. Weeks start on Sunday; days before the first Sunday are week 00. |
|
Week of the year, 00–53. Weeks start on Monday; days before the first Monday are week 00. |
|
Locale date representation. |
|
Locale date and time (rounded to seconds). |
{RECEIVED_UTC|%Q} prints 1680366001000000
{RECEIVED|%Q} prints 1680340801000000
{RECEIVED|%j} prints 091
Related Topics
-
Export to Files — daily file names