- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2015 07:23 AM
I get the following error on running this code:
var start = new GlideDateTime("2011-01-01 12:00:00");
var end = new GlideDateTime(start);
alert(end);
error:ReferenceError: GlideDateTime is not defined function
Any Ideas?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2015 08:02 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2015 08:14 AM
Perfect
Please mark the response as correct/helpful if this answers your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2023 05:56 PM
or maybe use JS function if you are in clientside scripting:
var mynow = new Date();