Forum Discussion

akshaysmath's avatar
akshaysmath
Frequent Visitor
3 years ago
Solved

Get last date on next year February

Hey guys,   Can anybody help me with the below concern?   I'm looking to get the last date of next year February month. For example, if the current year is 2022, I want next year's February end d...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Try this you should have the value :

    nextclosingdate=

    var nextyear=year(today())+1

    var datemaxmarch=date(nextyear,3,1)

    return

    datemaxmarch-1

     

    but the much simple would be to create the dfate on your date table with calendar function