DATE TIME FORMAT?

How to get this date format: 2014-04-01T14:20:31. I am not sure what format this is?? I am not seeing anything in the wmpub package that I can use to get this date.

thank you

you can use:
pub.date:dateTimeFormat
your format should be:
yyyy-MM-ddTHH:mm:ss

1 Like

Hi Meena,

This format of date is used in IDOCs. [SAP Date Time Format].

Thanks Tong/Senthil for the solution/ans.

Regards,
Rankesh

Use the service pub.date:dateTimeFormat

For more information on pattern refer Integration_Server_Built-In_Services_Reference.pdf

Minor correction… T should be between single quotes…
yyyy-MM-dd’T’HH:mm:ss

-Senthil

1 Like