---
title: "Time Zones and Time Formats"
description: ""
url: "https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/gateway-administration/geneos_timeformats_tr/index.html"
---
## Time Zone Data

Geneos uses the operating system's time zone files, typically located at `/usr/share/zoneinfo/`, to convert between time zones and to parse or format dates. These files determine the time zone names and time zone abbreviations that Geneos uses.

Time zone names can be used when configuring ActiveTime periods, scheduled events, and in Time arguments in internal commands. See [Appendix: Internal Commands in Gateway Commands](https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/monitoring-and-alerts/geneos_commands_tr/index.html#appendix-internal-commands) for more information. Time zone abbreviations can be used when defining rules to parse and format strings containing timestamps.

The Gateway binary is also accompanied by a time zone resources file that is used exclusively when parsing dates that include time zone abbreviations. This occurs when parsing dates in rules and when parsing information from dataviews for standard formatting. See [Standardised Formatting in Publish to Kafka and Nanomsg](https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/data-access-and-publishing/geneos_publishingdata_tr/index.html#standardised-formatting).

The Gateway time zone resources file is also available separately as a package from [ITRS Resources](https://resources.itrsgroup.com/downloads/gateway-2-timezones). The package contains the time zone file and a README file with installation instructions.

Be aware of the following:

- Mappings between abbreviations and time zones specified in the time zone resource file and in the Operating Environment setup are only used for parsing input timestamps and never for formatting output.
- The time zone resource file also contains information about the UTC offsets and daylight savings time of different time zones. This information is not used by Gateway.

## Parsing time zone abbreviations

Time zone abbreviations, such as "EST" are inherently ambiguous. In order to deal with ambiguities Geneos prioritises possible mappings.

The time zone resources file, which is sorted by the `ID` field in alphabetical order, is used when parsing time zone abbreviations. When the Gateway has to map an abbreviation to a time zone, it takes the `ID` for the first matching abbreviation in the `STD ABBR` field of the time zone resources file. If an entry is found where the `STD ABBR` field matches the abbreviation and the `STD NAME` field is set, this will take priority over any earlier entry in the time zone resources file that only matches the `STD ABBR` field. The settings made in [operatingEnvironment > timezoneabbreviation in Operating Environment](https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/gateway_operating_environment/index.html#operatingenvironment--timezoneabbreviation) take priority over any matches found in the time zone resources file.

## Time formatting parsing codes

The following formatting codes can be used in rule functions and with certain plug-ins.

<div class="table-container">
<table class="legacy-table"   style="margin-left: 0;margin-right: auto;width: 100%;mc-table-style: url('../../Resources/TableStyles/ref_2_col_table.css');" cellspacing="0">
                    <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1">
                    </col>
                    <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1">
                    </col>
                    <thead>
                        <tr class="TableStyle-ref_2_col_table-Head-Header1">
                            <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">Specifier</th>
                            <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Replaced by</th>
                        </tr>
                    </thead>
                    <tbody valign="top">
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%a, %A</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Day of the week; either abbreviated or full
							name. (e.g. Thu or Thursday)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%b, %B</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Month Name; either abbreviated or full name (eg
							Aug or August)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%c</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Date and time representation (local
							dependant)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%d</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Day of the month [01,31]; leading zeros are
							permitted but not required.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%D</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The date as %m/%d/%y</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%e</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Day of the month [01,31]; leading zeros are
							permitted but not required.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%f<sup>1</sup></td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Milliseconds. (Reads between 0 and 3 digits).
								The period is part of this code, to read seconds
								and milliseconds use %S%f. If you do not want the
								period included in the code please use %Of which
							reads just the digits.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%F</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The date as %Y-%m-%d</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%g<sup>1</sup></td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Microseconds. (Reads between 0 and 6 digits).
								The period is part of this code, to read seconds
								and microseconds use %S%g. If you do not want the
								period included in the code please use %Og which
							reads just the digits.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%H</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Hour in 24h format [00,23]; leading zeros are
							permitted but not required.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%I</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Hour in 12h format [01,12]; leading zeros are
							permitted but not required.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%m</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Month as a decimal number [01,12]; leading
							zeros are permitted but not required.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%M</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Minute [00,59]; leading zeros are permitted but
							not required.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%p</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">AM or PM designation</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%r</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The time as %I:%M:%S %p</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%R</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The time as %H:%M</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%s</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The number of seconds since the Epoch,
							1970-01-01 00:00:00 +0000 (UTC)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%S</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Second [00,60]; leading zeros are permitted but
							not required.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%T</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The time as %H:%M:%S</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%x</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The date as %m/%d/%y</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%X</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The time as %H:%M:%S</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%y</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Year, last two digits [00,99]</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%Y</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Year, last all digits (e.g. 2008)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%z</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Timezone offset from GMT [+|-]:hh:mm</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%Z</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Timezone standard/day light saving abbreviation
							(ie EET or EEST)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%+</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The date and time as "%a %b %e %H:%M:%S %Z
							%Y"</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1">%%</td>
                            <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1">A % sign</td>
                        </tr>
                    </tbody>
                </table>
                
</div>


**Note**

  The formats specified above with super-script 1 are useful only for messageTracker timestamp format.


On UNIX systems some conversion specifications can be modified by preceding the conversion specifier character by the E or O *modifier* to indicate that an alternative format should be used. If the alternative format or specification does not exist for the current locale, the behaviour will be as if the unmodified conversion specification were used. (SU) The Single Unix Specification mentions %Ec, %EC, %Ex, %EX, %Ey, %EY, %Od, %Oe, %OH, %OI, %Om, %OM, %OS, %Ou, %OU, %OV, %Ow, %OW, %Oy, where the effect of the O modifier is to use alternative numeric symbols (say, roman numerals), and that of the E modifier is to use a locale-dependent alternative representation.

See also: [Time Zone Data](https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/gateway-administration/geneos_timeformats_tr/index.html#time-zone-data).

## Time Formatting Printing Codes

The following formatting codes can be used in rule functions, with certain plug-ins and for gateway log file rotation.

<div class="table-container">
<table xmlns="" class="legacy-table"   style="margin-left: 0;margin-right: auto;width: 100%;mc-table-style: url('../../Resources/TableStyles/ref_2_col_table.css');" cellspacing="0">
                    <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <thead>
                        <tr class="TableStyle-ref_2_col_table-Head-Header1">
                            <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">Specifier</th>
                            <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Replaced by</th>
                        </tr>
                    </thead>
                    <tbody valign="top">
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%a</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Abbreviated weekday name (ie Thu)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%A</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Full weekday name (ie Thursday)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%b</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Abbreviated month name (ie Aug)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%B</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Full month name (ie August)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%c</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Date and time representation (local
						dependant)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%C</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The century number (year/100) as a 2-digit
						integer [00,99]</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%d</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Day of the month [01,31]; leading zeros are
						permitted but not required.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%D</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The date as %m/%d/%y</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%e</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Day of the month [01,31]; leading zeros are
						permitted but not required.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%F<sup>1</sup></td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The date as %Y-%m-%d</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%g<sup>1</sup></td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Week-based year within century [00,99]</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%G<sup>1</sup></td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Week-based year, including the century
						[0000,9999]</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%h</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Equivalent to %b</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%H</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Hour in 24h format [00,23]; leading zeros are
						permitted but not required</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%I</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Hour in 12h format [01,12]; leading zeros are
						permitted but not required</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%j</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Day of the year [001,366]; leading zeros are
						permitted but not required</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%k</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Hour in 24h format (0-23); single digits are
						preceded by a blank</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%l<sup>1</sup></td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Hour in 12h format (1-12); single digits are
						preceded by a blank</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%m</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Month as a decimal number [01,12]; leading
						zeros are permitted but not required</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%M</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Minute [00,59] ; leading zeros are permitted
						but not required</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%n</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Insert a NEWLINE</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%p</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">AM or PM designation; Noon is treated as 'pm'
						and midnight as 'am'</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%P<sup>1</sup></td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Like %p but in lowercase: 'am' or 'pm'</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%r</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The time as %I:%M:%S %p</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%R</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The time as %H:%M</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%s</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The number of seconds since the Epoch,
						1970-01-01 00:00:00 +0000 (UTC)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%S</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Second [00,60]; leading zeros are permitted but
							not required. The range is up to 60 to allow for
						occasional leap seconds.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%t</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Insert a TAB</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%T</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The time as %H:%M:%S</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%u</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The day of the week as a decimal, range 1 to 7,
						Monday being 1</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%U</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Week number with the first Sunday as the first
						day of week one [00,53]</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%V</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Week number of the current year as a decimal
							number, range 01 to 53, where week 1 is the first
							week that has at least 4 days in the current year,
						and with Monday as the first day of the week.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%w</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Weekday as a decimal number with Sunday as 0
						[0,6]</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%W</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Week number with the first Monday as the first
						day of week one [00,53]</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%x</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Date representation (local dependant)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%X</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Time representation (local dependant)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%y</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Year, last two digits [00,99]</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%Y</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Year, last all digits (e.g. 2008)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%z<sup>1</sup></td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The time-zone as hour offset from GMT</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%Z</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Timezone name or abbreviation (ie CDT)</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">%+<sup>1</sup></td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The date and time as "%a %b %e %H:%M:%S %Z
						%Y"</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1">%%</td>
                            <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1">A % sign</td>
                        </tr>
                    </tbody>
                </table>
                
</div>

**Points to Note**:

- The formats above with super-script 1 are not supported on AIX.
- To omit padding of numeric results, use the hyphen after %. E.g. "%-d".
- On UNIX systems some conversion specifications can be modified by preceding the conversion specifier character by the E or O *modifier* to indicate that an alternative format should be used. If the alternative format or specification does not exist for the current locale, the behaviour will be as if the unmodified conversion specification were used. (SU) The Single Unix Specification mentions %Ec, %EC, %Ex, %EX, %Ey, %EY, %Od, %Oe, %OH, %OI, %Om, %OM, %OS, %Ou, %OU, %OV, %Ow, %OW, %Oy, where the effect of the O modifier is to use alternative numeric symbols (say, roman numerals), and that of the E modifier is to use a locale-dependent alternative representation.

## Regular Expression Types Used In Plugins


**Geneos PCRE2 upgrade**

 Beginning with version 7.3.x, Geneos now uses `PCRE2 10.44` by default, upgrading from `PCRE 8.44` for improved handling of regular expressions. Please be aware that this may introduce breaking changes to your implementation. For more information about the differences, refer to the [PCRE2 documentation](https://www.pcre.org/current/doc/html/pcre2compat.html). 


The following table provides a summary of the types of regular expression used in the various plugins.

| Plugin | Types of regular expression supported |
|-------|-------|
| FKM | By default uses POSIX extended regular expression syntax. If the configuration setting `isPCREMode` is set to true, it will use PCRE2 (Perl Compatible Regular Expressions) instead. |
| Message Tracker | Perl Compatible Regular Expressions (PCRE2) |
| State Tracker | Perl Compatible Regular Expressions (PCRE2) |
| FIX Analyser | Perl Compatible Regular Expressions (PCRE2) |
| IXMA | POSIX extended |
| Webmon | Perl Compatible Regular Expressions (PCRE2) |
| Processes | By using the configuration setting regexMode, the user can choose between the following regular expression types:- Berkeley - Berkeley library interface. On some platforms this may make a difference to the pattern matching algorithm. It is highly recommend that you use one of the other modes unless you have a specific reason for choosing this one.
- Normal - POSIX regular expression syntax
- Extended - POSIX extended regular expression syntax
- PCRE - Perl Compatible Regular Expression (PCRE2) syntax
- None - text is searched for in string as is (case insensitive by default). If `regexMode` is not set, the default is that POSIX extended regular expression syntax is used. |


