WebListBoxDateTimeRenderer.RelativeValueStyle
From Xojo Documentation
Property (As DateTime.FormatStyles )
aWebListBoxDateTimeRenderer.RelativeValueStyle = newDateTime.FormatStylesValue
or
DateTime.FormatStylesValue = aWebListBoxDateTimeRenderer.RelativeValueStyle
New in 2020r1
Supported for all project types and targets.
or
DateTime.FormatStylesValue = aWebListBoxDateTimeRenderer.RelativeValueStyle
New in 2020r1
Supported for all project types and targets.
Determines if the date and/or time will be display in relative terms.
Notes
Using this property you can automatically display the DateTime using relative terms when appropriate. For example, if the DateTime value was yesterday, the value will be displayed as "Yesterday" rather than as an actual date and a time that was 5 minutes ago would be displayed as "5 Minutes Ago".
See Also
WebListBoxDateTimeRenderer.RelativeValueStyles enumeration.