on 11-21-2006 2:01 PM
Hi XI Friends..
In my file to idoc scenario..
i have field date value :2006-10-10T14:10:10
i have convert the above field into two fields idate :20061010
itime:141010
i used substring datetransfer functions..
but in static test of message mapping ..i am getting value for itime as 021010
if we give before 12:00:00 its converting properly..after 12.:00:00 its taking 12hr format only..
please guide me..
regards
ram
Hi Ram,
Is this still a problem?
I think the hint will also work in this case:
sourcefield --> replaceString(sourceField/constant[T]/constant[]) --> TransformDate(yyyy-mm-ddHH:MM:SS --> HH:MM:SS) --> targetFieldTime
sourcefield --> replaceString(sourceField/constant[T]/constant[]) --> TransformDate(yyyy-mm-ddHH:MM:SS --> YYYYMMDD) --> targetFieldDATE
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes right use the DateTrans function.
for idate from yyyy-MM-dd HH:mm:ss to yyyyMMdd
and
for itime from yyyy-MM-dd HH:mm:ss to HHmmss
regards,
robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you try datetrans function from date functions ?
Regards,
Sudheer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ram,
Use date transformation function From date function category
Format of source date yyyy-mm-dd HH:mm:ss
Target Format yyyymmdd HHmmss
Thanks,
TUhin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.