CodeTwo Base.title

Date and time placeholders format

Problem:

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

Solution:

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: https://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx (scroll down for the table describing the format specifiers).

Our Clients:
Unicef
Facebook
Shell
T-Systems
Loreal
Casio
UPS Israel
Oford University
Mitsubishi Motors
Toshiba TEC UK Imaging Systems Ltd
Illinois Institute of Technology
MAN Diesel
McDonalds India
Skoda Auto
Bank of Israel
Fujifilm
China Mobile
Santander
Samsung SDI
Skanska
Generali
Telmex
Toyota Tsusho
BECHTEL
Ricoh
BAE SYSTEMS
Federação Portuguesa de Futebol
Credit Agricole
HYUNDAI
Rothschild
Toyota Boshoku
Oriflame Romania
ING
Ikea
Nordea

Partners, certificates & awards