GlideSystem - hoursAgoEnd(Number hours)

Returns the date and time for the end of the hour a specified number of hours ago.

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

Scoped equivalent

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