time-span-converter
Reactive icon

Time Span Converter

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 31 August 2025
 by 
EONE TECHNOLOGIES PRIVATE LIMITED
0.0
 (0 ratings)
time-span-converter

Time Span Converter

Details
An OutSystems Forge component that converts a given date and time into a human-readable format, showing both past (e.g., “5 minutes ago”) and future times (e.g., “in 2 hours”).
Read more

The TimeSpan Converter is an OutSystems Forge component designed to convert any given DateTime value into a human-readable relative time format. It works for both past and future dates, making it easy to display messages like:

  • Past examples  "Just now", "5 minutes ago", "2 hours ago", "Yesterday", "3 months ago"

  • Future examples  "in 5 minutes", "in 2 hours", "Tomorrow", "in 3 days", "in 2 years"

This component is useful for applications that display timestamps, event schedules, notifications, logs, and chat messages.



Example Scenario

Case 1: Past Timestamp

  • Input: 2025-08-31 08:00:00

  • Current Time: 2025-08-31 09:30:00

  • Output: 1 hour ago

Case 2: Future Timestamp

  • Input: 2025-09-02 14:00:00

  • Current Time: 2025-08-31 10:00:00

  • Output: in 2 days

Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team
Other assets in this category
More from EONE TECHNOLOGIES PRIVATE LIMITED