Srch.U.getFriendlyTimeInterval Method (DisplayTemplatesSrch)
Gets a relative date time string using GetRelativeDateTimeString in SP.DateTime.Util.
Srch.U.getFriendlyTimeInterval(dateTimeSince)
Parameters
- dateTimeSince
The time in the past. If the time is greater than now, now will be used instead of the given value.
Requirements
This method requires strings.js and sp.datetimeutil.js.