CodeTwo Base.title

Date and time placeholders format


You need to customize the display format of time and date used by some placeholders in CodeTwo software.


CodeTwo software allows you to customize the placeholder date format in many ways. You may, for example set the program to display full name of the day or to include your time zone information.

In fact, the way how the format is defined is pretty easy to understand. Please find an example below:

Format definition Exemplary date and time
yyyy-MM-dd HH:mm UTCzzz 2015-10-07 09:01 UTC+02:00

Every letter (e.g. d) or letters combination (e.g. dd) stands for a part of the date, which is then converted to a real date when your message goes through the Exchange Server.

The following list describes all parts of example shown above:

  • yyyy - the year as four-digit number, e.g. 2015
  • MM - the month as two-digit number, e.g. 10; please note it needs to be uppercase - otherwise the minute will be displayed
  • dd - the day as two-digit number, e.g. 07
  • HH - the hour, two-digit number, using 24-hour clock. If you need to use 12-hour clock, use the following: HH tt, which will produce e.g. 09 AM
  • mm - the minute as two-digit number, e.g. 01; please note it needs to be lowercase - otherwise the month will be displayed
  • zzz - hours and minutes offset from UTC

If you open the properties of a placeholder for the first time, the format will be displayed using your Windows locales settings. Those depends on regional preferences of the machine, which is running the Administration Panel. After changing and saving your custom format, it will be displayed this way in all emails.

Exchange Rules Pro - date format
Fig. 1. Placeholder date format property.

Our software uses standard .NET Framework Date and Time format. For more information regarding advanced customizations, please consult the following website: (scroll down for the table describing the format specifiers).

Our Clients: