Specification of date fields

When creating a date field, leave the Specification box in the Format group box blank to let INVOICES select date formats.

Alternatively, you can type a specification for the field by typing the format of each of the three required parts of the date (day, month, and year) in the sequence they appear on the invoice. The date format specifications that can be used are:

Format

Alternate format

Meaning

D

D(1)

Day written with one or two digits, 1-31

DD

D(2)

Day written with two digits, 01-31

M

M(1)

Month written with one or two digits (1-9, 10, 11, or 12)

MM

M(2)

Month written with two digits, 01-12

MMM

M(3)

Month written with the first three letters of the name. (JAN, FEB, etc.).

This is controlled by the [ThreeCharMonthName] section in Eiglobal.ini.

MMMM

M(4)

Full month name.

Warning: MMMM is the long month name, controlled by the [FullMonthName] section in Eiglobal.ini. Do not specify more than four M’s.

Y

Y(1)

Year written with one or two digits, 8, 98 … (the tens digit may be omitted for the years 2000-2009)

YY

Y(2)

Year written with two digits, for example 09

YYYY

Y(4)

Year written with four digits, for example 2009

X

 

Separator character

Examples

Notes

The field's Language setting is important.

To ensure better validation of dates, only dates between these two boundaries are valid:

Separator characters in date fields

Choosing the field format type: Regular, date, or amount

Single item fields and line item fields: Choosing the field type