RE:string to date
Posted: Tue Oct 31, 2006 1:51 am
Iam converting a string to date in modify stage using the stringtodate function as follows:
C_date:date=date_from_string(date)[%dd:/:%mm:/:%yyyy]
Here C_date is the new column name.
and the error is coming as:
main_program: Error parsing modify adapter: Expected ';' or end, got: "["; input:
keep name,age,date
;
Full_Name=name
;
Age_N=age
;
C_date:date=date_from_string(date)[%dd:/:%mm:/:%yyyy]
;
could anyone rectify this solution?
C_date:date=date_from_string(date)[%dd:/:%mm:/:%yyyy]
Here C_date is the new column name.
and the error is coming as:
main_program: Error parsing modify adapter: Expected ';' or end, got: "["; input:
keep name,age,date
;
Full_Name=name
;
Age_N=age
;
C_date:date=date_from_string(date)[%dd:/:%mm:/:%yyyy]
;
could anyone rectify this solution?