Official Content

Time units used to display the time interval.

Description

It allows choosing a range of units to display.

Second s
Minute m
Hour h
Day d
Week w
Month M
Year Y

 

For example, if you have an event that happened 1 day, 7 hours, 40 minutes and 15 seconds ago, this value can be shown in the following ways: 

Units property Result displayed on screen
smhd 1 day, 7 hr, 40 min, 15 sec
mh 31 hr, 40 min
md 1 day, 40 min

 

Note that in the case of example 2 the value in seconds is truncated, and even though the hours value is higher than 24 hours (one day), the value continues to increase. 

Runtime/Design time

This property applies only at design-time.

How to apply changes

To apply changes made by this property, Build a main object.

Scope

Platforms: Smart Devices(IOS)
Controls: Attribute/Variable (Control Type: SD Relative Timer)

See Also

Relative Timer control

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant