Skip to main content
Solved

Formula for returning another column's date in the current year?

  • February 14, 2022
  • 3 replies
  • 44 views

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?

Best answer by Kamille_Parks11

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.

3 replies

Kamille_Parks11
Forum|alt.badge.img+27
  • Brainy
  • 2679 replies
  • Answer
  • February 14, 2022

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.


  • Author
  • Participating Frequently
  • 5 replies
  • February 14, 2022

Perfect…it worked! Thanks!


Kamille_Parks11
Forum|alt.badge.img+27
  • Brainy
  • 2679 replies
  • February 14, 2022

Perfect…it worked! Thanks!


Great, mark it as the solution to close this thread.