Products Downloads


French version


 

This function converts into a Date, according to the number of Parameters,

  • either a number in YYYYMMDD format (8-digit number where the first 4 numbers represent a year, the next 2 represent a month number and the last 2 represent a day number),
  • or 3 numbers representing a year, a month number and a day number respectively.


Parameters

Number

onlyYearOrYMDValue

Number in YYYYMMDD format or year value

Mandatory

Number

monthValue

Month number (value from 1 to 12)

Optional

Number

dayValue

Day number (value from 1 to 31)

Optional: Mandatory if "monthValue" is present



For example

<#assign creationDate = hardisCore.yymmddToDate(1996, 2, 17)/>
${ creationDate?iso_utc }