Hi,
In transformer trying to check a condition on date in IF condition as below
Date_column_input = StringToDate('1999-12-31',"yyyy-mm-dd")
and getting below error:
APT_CombinedOperatorController,0: Operator terminated abnormally: Terminating with exception:APT_ParseError: Parsing parameters "yyyy-mm-dd" for conversion "date=date_from_string[%yyyy-%mm-%dd](string)": APT_Conversion_String_Date: Invalid Format [yyyy-mm-dd] used for string_from_date type conversion
Invalid Format - Date
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
If you give a man a fish, he's not hungry for a little while and is then hungry again. If you teach a man to fish, he need never be hungry again.ds_sai wrote:Try this....
StringToDate(DSLink3.Testdate,"%yyyy-%mm-%dd")
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.