Skip to main content

Keep year and set day and month to 01/01

This sets the month and day of the input date to January, 1 but does not change the year.

If the input date is null, the function returns January, 1 of the current year, for example 01-01-2019.

This function requires no extra parameter.

The function returns January, 1 of the current year.

Input value Example of a masked value
24-12-2019 01-01-2019

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!