How to Read a Date-Time Group (DTG)
Learn the date-time group format: what each part of a DTG means, how time zone letters work, how to extract DTGs from text, and how to convert them to a calendar date.
A date-time group (DTG) is a compact timestamp used mainly in military and some official message traffic. It packs a day, a time, a time zone, a month and a year into one short string. This guide explains each part, shows how to read and convert a DTG into an ordinary calendar date and time, and covers how to pull DTGs out of surrounding text without changing what they mean.
What a date-time group does for your text
The DTG gives a message one unambiguous point in time in a fixed-width form that is easy to scan and sort. The input is a short string such as 251830Z OCT 26. Reading it produces five values: day of the month, hour and minute, time zone, month and year. From those you can produce a normal date like 25 October 2026, 18:30 UTC, or convert it to any other time zone. This guide covers the common US and NATO style. Organizations and message standards can use variants, and no source document was supplied for this article, so confirm the exact layout against the standard that applies to your messages.
The date-time group format, part by part
Example DTG (illustrative):
251830Z OCT 26
| Part | Characters | In the example | Meaning |
| Day | 2 digits | 25 | Day of the month, 01 to 31 |
| Time | 4 digits | 1830 | 24-hour clock, hours then minutes (18:30) |
| Zone | 1 letter | Z | Time zone designator; Z means UTC (Zulu time) |
| Month | 3 letters | OCT | Month abbreviation in English |
| Year | 2 digits | 26 | Last two digits of the year (2026) |
The day, time and zone letter are written together with no spaces (251830Z). The month and year usually follow, separated by single spaces, and the letters are uppercase. Some sources omit the spaces (251830ZOCT26) or write a four-digit year (251830Z OCT 2026). Older or abbreviated forms may give only the first part (251830Z), in which case the month and year must come from the message context.
Time zone letters
The single letter after the time names the zone in which that time is expressed. Each letter stands for a whole-hour offset from UTC:
| Letter | Offset from UTC | Letter | Offset from UTC |
| Z | 0 (UTC) | J | Local time of the observer |
| A | +1 | N | -1 |
| B | +2 | O | -2 |
| C | +3 | P | -3 |
| D | +4 | Q | -4 |
| E | +5 | R | -5 |
| F | +6 | S | -6 |
| G | +7 | T | -7 |
| H | +8 | U | -8 |
| I | +9 | V | -9 |
| K | +10 | W | -10 |
| L | +11 | X | -11 |
| M | +12 | Y | -12 |
Note the gaps in the pattern: J is skipped in the eastern sequence because it means local time, not a fixed offset. A DTG marked J cannot be converted without knowing where it was written. The letters are nominal whole-hour offsets; they do not encode daylight saving time or half-hour civil zones, so treat the letter, not a place name, as the authority for the offset.
How to read a DTG step by step
- 1. Split the first block into day (first two digits), time (next four digits) and zone (the letter).
- 2. Read the time as a 24-hour clock value: 1830 is 18:30, 0045 is 00:45.
- 3. Look up the zone letter in the table to get the offset from UTC.
- 4. Read the month abbreviation and the year. Expand a two-digit year using the message context (26 normally means 2026, but confirm this for archival material).
- 5. Write out the result as an ordinary date and time with its zone, for example 25 October 2026, 18:30 UTC.
- 6. To convert to UTC, subtract the offset: for a +3 zone subtract 3 hours, for a -5 zone add 5 hours. If the result crosses midnight, adjust the day, and if needed the month and year.
Worked examples
These are illustrative conversions worked out by hand, not output from a specific tool.
251830Z OCT 26 -> 25 Oct 2026, 18:30 UTC
251830R OCT 26 -> 25 Oct 2026, 18:30 at UTC-5 = 25 Oct 2026, 23:30 UTC
010130Z JAN 27 -> 1 Jan 2027, 01:30 UTC = 31 Dec 2026, 20:30 at UTC-5 (zone R)
The last example shows why the full date matters: converting across zones can move the result into the previous or next day, month or year.
Extracting date-time groups from text
When DTGs are embedded in longer messages or logs, a regular expression can find them. The pattern below is an illustrative example in common regex syntax; it has not been tested against your data or engine. It accepts an optional space between parts and a two- or four-digit year.
\b(0[1-9]|[12][0-9]|3[01])([01][0-9]|2[0-3])([0-5][0-9])([A-Z])\s?(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)\s?(\d{4}|\d{2})\b
- Group 1: day (01 to 31)
- Group 2: hour (00 to 23)
- Group 3: minute (00 to 59)
- Group 4: zone letter
- Group 5: month abbreviation
- Group 6: year (four digits are tried before two)
Limitations of this pattern: it does not check that the day exists in the given month (310930Z FEB 26 would match), it does not match the short form without month and year, and it expects uppercase. Validate captured values with a real date library after extraction rather than relying on the pattern alone.
Avoiding unintended changes
- Keep the original DTG string alongside any converted value so the source can always be checked.
- Do not uppercase or lowercase the whole document to make matching easier; work on a copy or use a case-insensitive flag only for the search.
- Watch for invisible characters in copied text. A non-breaking space (U+00A0) between 251830Z and OCT looks like a normal space but may not match a literal space; whether \s matches it depends on your regex engine and its Unicode settings. Normalize whitespace in a working copy, not in the original.
- Distinguish the zone letter O (UTC-2) from the digit 0. In some fonts 181530O and 1815300 look almost identical, and OCR output can swap them.
- Do not assume a J (local time) DTG equals UTC; leave it unconverted unless the location is known.
Verifying the result
- Re-read the converted date and confirm the day, hour, minute, month and year each map back to the original digits and letters.
- Check that the zone offset was applied in the right direction: eastern letters (A to M) are ahead of UTC, western letters (N to Y) are behind.
- For any conversion near midnight or at the end of a month or year, confirm the date rolled over correctly.
- Compare a few extracted DTGs against the source text by eye to catch missed matches or false positives.
What this guide cannot confirm
No specific standard document, tool or sample data was supplied for this article. The format and zone letters described here reflect the widely used US and NATO convention, but the exact spacing, year length and use of the short form vary by organization and era. If you are processing messages under a particular standard, check its definition of the DTG before relying on the pattern or conversion rules above.