1 Reply Latest reply on Dec 1, 2011 11:19 PM by radzmar

    Need to extract the current year only from a form calc date variable

    aipolo18

      Hi,

       

      I need to extract the year only from a date variable.How can I use the num2date(date()) to do this?

       

      eg. num2date(date(), "YYYY MM DD") retunrs me the whole date, but I need only the current year.

       

      Thanks in advance.

       

      Abel.