You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Convert Date to 24 hr format

Received Response
18
Views
1
Comments
edited Aug 13, 2021 6:50PM in Integration 1 comment

Content

Hi ,

I want to convert into 24 hr format  in SOASuite XSLT ,  but i am getting time in 12hr format.

Below is the function ,

I tried below ,the sample datetime but still i am not getting time in 24 hrs format .Does this format function work ? For 24 hrs, it shouldbe '[H01]' right ?
xp20:format-dateTime(xs:dateTime('2019-09-11T10:16:31.943+05:30'), '[D01]/[M01]/[Y001] [H01]:[m01]')

Version

12.2.1.4
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!