DateTimeToAgo extension

Extension adding an ability to get text represented indication of how long ago a DateTime happened compared to DateTime.now.

on

Methods

toDifferenceAgo() String

Available on DateTime, provided by the DateTimeToAgo extension

Returns text representation of a difference with DateTime.now indicating how long ago this DateTime happened compared to DateTime.now.