Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello. How to find the difference between the current date and a date in your variable set (beginning date)? I tried Talenddate.diffDate(Date1, Dat2, stringtype), but this is the error being showed: The method diffDate(Date, Date, String) in the type TalendDate is not applicable for the arguments (Date, Long, String)
Please note, I don't want my date to be in the "long" format.
Hi
You can read the source code of TalendDate functions by going to Repository-->Code-->Routine-->system routine-->TalendDate.
The method diffDate(Date, Date, String) in the type TalendDate is not applicable for the arguments (Date, Long, String), this function requires 2 parameters with Date type and one parameter with string type, but you pass a 'long' data to it.
Regards
Shong
Hi
You can read the source code of TalendDate functions by going to Repository-->Code-->Routine-->system routine-->TalendDate.
The method diffDate(Date, Date, String) in the type TalendDate is not applicable for the arguments (Date, Long, String), this function requires 2 parameters with Date type and one parameter with string type, but you pass a 'long' data to it.
Regards
Shong
Worked, thanks.