How You Format a Date Variable to Display Dates in a Specific Format
You can format the date variable using the function
<?format-date:DATE_VARIABLE;'YYYY-MM-DD'?>
. You can modify the String
'YYYY-MM-DD' according to your date format requirements. For example:
<?format-date:JOB_CHANGE_DATE;'YYYY-MM-DD'?>
If value of the variable JOB_CHANGE_DATE is Jan 1st 2013, the above expression will display it as “2013-01-01”.
You can also make use of form field options for this purpose.