Convert 12 hour date format to 24 hour format

dhruva
Kilo Contributor

In my inbound action date format is in form of "Thursday, May 18, 2017 4:00 PM" to dd-MMM-yyyy hh:mm:ss ? has anyone done this conversion in   servcienow before ?

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Dhruva,



It seems you will have to do lot of string manipulation to perform that because there might not be a direct way to handle this.



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

BALAJI40
Mega Sage

Can i know is that format coming form any script????????



If it from script, we can convert......


dhruva
Kilo Contributor

it is coming in from a email. so basically we are doign an inbound action here.


Can you just show me screen shot of your inbound email action???????