Avatar

Level 4

Hi folks,

I would like to extract the year part of my datefiedl's selected value.

For example, I would like to get 2010 from : 23/12/2010

And check if the extracted year is smaller than the current year.

How can I do it in LiveCycle(JavaScript is preferred)?

Thank you,

Yair