Back
timeAgoInWords()
Returns a string describing the approximate time difference between the date passed in and the current date.
// Controller code.
aWhileAgo = DateAdd("d", -90, Now());
// View code.
<!--- Will output: 3 months --->
#timeAgoInWords(aWhileAgo)#
Copied!