ServiceNow Certified Application Developer — Question 111

Which server-side object provides methods for working with dates when writing a script in a privately scoped application?

Answer options

Correct answer: A

Explanation

The GlideDateTime object is specifically designed to work with date and time values, making it the correct choice for date manipulation in scripts. GlideRecord is used for database record operations, GlideSystem provides system-related methods, and 'current' refers to the current record in scope, none of which are focused on date handling.