Feb 14, 2022 08:25 AM
I have a column with employee start dates, called “Start Dates”, and I have a column called “Anniversary Dates” where I need a formula to show the start dates in the current year 2022. What is the formula?
Solved! Go to Solution.
Feb 14, 2022 08:57 AM
The formula could be something like:
IF(
{Start Date},
DATETIME_PARSE(
YEAR(TODAY()) & DATETIME_FORMAT({Start Date}, "-MM-DD")
)
)
^ check to see if there’s a date to format, then take the Year of “today” and prepend it to the Month and Day of the start date.
Feb 14, 2022 08:57 AM
The formula could be something like:
IF(
{Start Date},
DATETIME_PARSE(
YEAR(TODAY()) & DATETIME_FORMAT({Start Date}, "-MM-DD")
)
)
^ check to see if there’s a date to format, then take the Year of “today” and prepend it to the Month and Day of the start date.
Feb 14, 2022 09:16 AM
Perfect…it worked! Thanks!
Feb 14, 2022 09:20 AM
Great, mark it as the solution to close this thread.