on 08-23-2007 8:25 AM
I need a udf Which will convert the date format yyyMMddhhmmss to YYMMDD
best regards
Manas Mahani
Hi Manasa,
You can execute this without UDF. Use " Transform" function in the Date functions.
When you are using the UDF....you keep the strucure as "yyyMMddhhmmss" for that clickon Trnasform function and there you can see <b>ShowAdvancedProperties</b>...there u can find the format of the source which you are expecting and also change the strucutre of you target expected format.
You please try this and check the mapping it will get execute.
Pleaes let me know if you have any queries..!
Thanks and Regards,
Chandu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use Standard Date Function DATATRANS. It have the property for format and input is the source date field. It will convert the date format to required specified format which you menstion in the DARTATRANS function.
Warm Regards,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Manas,
Use <b>DateTrans</b> which is available in Standard Date function category.
-Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why to use UDF.
U can use standard substing function of Text category providing position of YY/MM/DD in source string & then u can concatenate them to make required string.
Regards
Sushil
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.