Date being converted to an invalid date automatically by system

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2016 02:52 PM
Hello, We are having issues with the ServiceNow date formats in our dev instance.
The system automatically converts the date format to include the timezone string "EDIT" at the end and this prevents from being able to save records.
Example:
2016-10-18 16:23:12 --> Was changed by the system automatically --> 2016-10-18 00:00:00 EDT
Steps to reproduce:
Open an existing or new incident and assign it to Service Desk
Put in a date in the "Due Date field"
The system strips off the time, and adds the timezone "EDT" at the end of the date.
The date then fails validation with "Invalid Date".
This was strange since it started happening randomly today on our Dev instance. I was working on something unrelated and did not make any changes to the date configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2016 02:59 PM
Check the date format string in system properties -> system.
If it contains anything other than hypens, slashes, D's, M' and Y's remove it.
Especially any z.
EDIT: I was mistaken. Though the z could appear in the date field, it is usually used in the time format string.
Check that out. A possible use is:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2016 06:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2016 02:16 PM
Are you still having the problem? Have you contacted ServiceNow for help?
The only strategy I can propose ( beyond contacting S/N ) is to make changes the time format and confirm that the property is being used to determine the format.
If changing the date and time format property results in different time formats being displayed, and changing it back to yyyy-MM-DD does not yield the result you expect.
You may have to contact S/N.
If it does NOT change the format of the you the time and date being displayed, I would then experiment with the date and time formats in your user record in sys_user. Does changing either of those properties result in different formats being displayed? If so, then set the value of your personal formats to "System(....)".
This essentially blanks them out. Now the format of both date and time should be governed by the system properties.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2016 12:50 PM
I have the same problem being reported by one of our users on IE 11 / Windows 7. He said that when it happens, all date/time fields on the form are like this. And he's the only one that has reported the error (we've got over 400 active users).
I cannot reproduce the issue, even when impersonating the user. I thought that I had fixed it a few weeks ago by setting the timezone in his profile - it seemed to work and now its back again.
BTW this is on Geneva patch 6.