Hi All,

I am new to Xpath so this is a very basic question.
I have a date variable I want compare that variable to current date.
example: my_date > current_date then print "previous date"
how to write this in xpath?
thanks

Hi All,

I am new to Xpath so this is a very basic question.
I have a date variable I want compare that variable to current date.
example: my_date > current_date then print "previous date"
how to write this in xpath?
thanks

I tried below but got error

choose($start-date > date:seconds(),'Future',$start-date <= date:seconds(), 'Previous','none')