GlideSystem - daysAgoEnd(Number days)

Returns a date and time for end of the day a specified number of days ago.

Table 1. Parameters
Name Type Description
days Number Integer number of days
Table 2. Returns
Type Description
String GMT end of the day in the format yyyy-mm-dd hh:mm:ss

Scoped equivalent

To use the daysAgoEnd() method in a scoped application, use the corresponding scoped method: Scoped GlideSystem - daysAgoEnd(Number days).