Time Ago String

Pure
TimeAgoString

Returns a human-readable relative time string like '3 minutes ago', '2 hours ago', 'yesterday'.

Type: Pure (no side effects)
Category: Fortuna|String & Text
Keywords: string & text

Inputs

NameTypeDefaultDescription
PastTimestampFDateTimePastTimestamp parameter
CurrentTimestampFDateTimeCurrentTimestamp parameter

Outputs

NameTypeDescription
ReturnValueFStringReturnValue output

Example Use Cases

Example 1

Show when a save file was last modified.

Example 2

Display 'last online' status for friends list.