- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2020 01:42 PM
hello we are on Newyork.
I have a need to convert default time format YYYY-MM-DD HH:MM:SS in Servicenow to YYYY-MM-DD HH:MM format. (Excluding Seconds), because the tool, we are sending this accepts only YYYY-MM-DD HH:MM format.
How can I do that? The final value should be of Date time only.
So 2020-02-20 23:09:18 should return 2020-02-20 23:09
Please advise.
Thanks,
Rajan
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2020 09:28 AM
JSON always send date as a string. Which would make jacebeson's post below make sense that the API is looking for an integer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2020 08:57 AM
hi Brian,
I am using the API of the other system (Dynatrace), making POST call to create new downtime in that system so that Alerts are suppressed.
Thanks,
Rajan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2020 08:58 AM
Right but what format? Like json?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2020 09:23 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2020 09:28 AM
JSON always send date as a string. Which would make jacebeson's post below make sense that the API is looking for an integer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2020 10:19 AM