I need to compare one date with 5/1/2018 so I create two local variables and then use compareDate but it doesn't work - V2 can not be resolved as a variable.
Please advise me. Thank you!
Have a look to document for TalendDate routines.
If you created variables in tMap then you have to refer variable with prefix Var.V1 or Var.V2.
Thanks for your advise.
After I added Var. I still got error which showed "The method compareDate(Date) is undefined for the type date". I checked I changed data type to "Date" for variables