GlideSystem - hoursAgoStart(Number hours)

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

Table 1. Parameters
Name Type Description
hours Number An 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 hoursAgoStart() method in a scoped application, use the corresponding scoped method: Scoped GlideSystem - hoursAgoStart(Number hours).