relativetime
Reactive icon

RelativeTime

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 10 Apr (13 hours ago)
 by 
0.0
 (0 ratings)
relativetime

RelativeTime

Details
Convert any DateTime into a human-readable relative format like '2 minutes ago' or '5 days ago' instantly.
Read more

Enhance your application's UX by replacing static timestamps with dynamic, human-friendly relative dates. RelativeTime is a lightweight, zero-dependency block that calculates the time difference between the current moment and a given date.

Key Features

  • Plug & Play: Just drop the block and pass a DateTime.
  • Human Readable: Automatically switches between seconds, minutes, hours, days, months, and years.
  • Ultra-Lightweight: 100% OutSystems logic, no external JavaScript libraries required.
  • Real-time Feel: Makes your activity feeds, comments, or logs look modern and intuitive.

Example Outputs

  • Just now
  • 45 minutes ago
  • 3 hours ago
  • Yesterday

    •        •    2 weeks ago

Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team
Other assets in this category