Friendly DateTime

This term refers to an algorithm that presents date and time information in a user-friendly way, making it easier for the average user to read. The set format is reflected in agent web applications wherever there is any date and time information.

The function supports the OnlyDate, Short, and AlsoSeconds settings, which affect the display.

Note

The function can be disabled for selected languages.

Display principle

Applications evaluate the function settings and date and time information in records. Based on this, the presentation of this data is dynamically generated for the user.

Date display

When OnlyDate is selected, the time is not generated:

  • If the date is today - it will say “Today”, no date.

  • If the date was yesterday - it will say “Yesterday”, no date.

  • If the date is tomorrow - it will say “Tomorrow”, no date.

  • If the date is within 16 days back or 7 days forward from today - the date is displayed in the format “Day.Month” (day of the week).

If the Short flag is also active and the date meets:

  • If the date is within 240 days back or 60 days forward from today - the date is displayed in the format “DD.MM”.

  • If the date is outside the mentioned interval - the full date is displayed in the format “DD.MM.YYYY”.

Time display

The time is generated in the standard format “HH:MM”.

When the Short option is active:

  • If the date is more than 240 days back from today, the time is always without seconds. If the AlsoSeconds flag is active, seconds are displayed.

When the Short option is inactive:

  • If the date is within 16 days back from today - the time is displayed including seconds.

  • If the date is outside the mentioned interval - the time is displayed without seconds.