Skip to content

Documentation


Documentation / @blazetrails/actionpack / ActionView / timeAgoInWords

Function: timeAgoInWords() ​

timeAgoInWords(fromTime, options?): string

Defined in: packages/actionview/dist/helpers/date-helper.d.ts:13

Parameters ​

ParameterType
fromTimeTime | Date | Instant | TimeWithZone
options?DistanceOfTimeOptions

Returns ​

string