cancel
Showing results for 
Search instead for 
Did you mean: 

I need to Remove 'T' from Date & Time structure

praveenreddy_bk
Participant
0 Kudos

Hi

Convert from YYYY-MM-DDTHH:MM:SS+HH:MM to DDMMYY

I need to remove T from this structure ,

Thanks in Advance

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Use the replace function .

It will ask for three arguments.

1) Pass the source string.

2) Pass T

3) Pass "" (Space)

Regards,

Ravi

praveenreddy_bk
Participant
0 Kudos

Ravi, Can U give me screen shot for this

Thanks in Advance

Answers (3)

Answers (3)

vijay_b4
Active Contributor
0 Kudos

Hi Praveen,

In the node functions, we have replace function...using that you can remove the T.

or

use node function -Date transformation and specify your input date format and your output date format.

input format - YYYY-MM-DDTHH:MM:SS+HH:MM

output format - DDMMYY

and make sure your input date should be in this format YYYY-MM-DDTHH:MM:SS+HH:MM else it through an error saying unable to convert.

Thanks & Regards,

Pragathi.

Former Member
0 Kudos

Hi,

In the message mapping, you can do this with the DateTrans function.

Former Member
0 Kudos

Hi,

you can use the substring function to get YYYY-MM-DD and then use the format / date function to achive DDMMYY in mapping.

Regards,

Kai