Date

<< Click to Display Table of Contents >>

Navigation:  PDF-XChange Editor Plus User Manual > Appendix > Macros >

Date


 

Editor-Icon Date

 


 

The Date macro uses the name Date and returns the date at the time of creation.

 

The syntax for this macro is %[Date:<Parameter>]

 

The available parameters are detailed below and can be entered as a <date formatting string>. The date formatting string follows standard windows date coding. It can be customized and displayed as combinations of the parameters below:

 

d displays the day of the month in digits and omits the zero in cases of single-digit values.

dd displays the day of the month in digits and includes a zero in cases of single-digit values.

ddd displays the day of the week in a three-letter abbreviation.

dddd displays the day of the week in full.

M displays the month as digits and omits the zero in cases of single-digit values.

MM displays the month as digits and includes a zero in cases of single-digit values.

MMM displays the month as a three-letter abbreviation.

MMMM displays the month in full.

y or yy displays the year as two digits and adds a zero in cases of values lower than 10.

yyyy displays the year in full.

 

For example, the string %[Date:ddd, MMMM dd, yyyy] could create the date Tue, February 23, 2016.

 

If no parameters are specified then the value will revert to default, which is the parameters of the operating system of the local machine in the format dd/MM/yyy.