Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Convert Date to 24 hr format — Cloud Customer Connect
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
16
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!