Datetime Variable Creation

0
Hi All,  I have a scenario that need to create a date time variable with fixed month and day (31/12) and the year is stored in another int variable, Any one has any idea? Datetime function couldn’t be used since i have the year value in a variable.   Any ideas?
asked
2 answers
1

You could try something like: addYearsUTC(dateTimeUTC(2000, 12, 31, 0, 0, 0), $Year-2000)

answered
1

Or something like:

parseDateTime(toString($Jaar) + '-12-31', 'yyyy-MM-dd') ?

answered