on 09-16-2010 3:14 PM
Hi Gurus,
I have no java background yet, and i have a simple requirement to convert source date format yyMMdd to target date format yyyyMMdd, do i need to create a UDF for this?
If Yes, can somebody give me the exact code for it?
Thank you in advance
Use DateTrans standar funtion under Date node in message Mapping, there provide the input parameter yyMMdd and the output parameter yyyyMMdd and the transformation is made.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Under Functions tab -> Date -> Choose "DateTrans"(give ur input and output format) .
Thanks
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just use the std DateTrans function. No need of udf.. in the DateTrans put your input and output format and then map it to target..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.