gn:act_convertTimestampToFormat
- Description
- Action used to convert timestamp (numerical value) from certain widget to human readable format. Action by default formats time in relation to local timezone of user.
- Action returns
- void
Action signatures
Convert timestamp from certain widget
[gn:act_convertTimestampToFormat]|[source,target,format]
with timezone
[gn:act_convertTimestampToFormat]|[source,target,format,manualTimeZone]
Parameter Description source
source from where value for conversion will be retrieved target
target from where the while action is using value as expression comparsion parameter format
format in which source value will be converted - Valid formats:
manualTimeZone
timeZone in which timestamp will be shown. By default it's local timezone. If DATE
datatype is used then default timezone isGMT
- Valid timezones:
Example
@+id/timeInDATA
- source@+id/clockTimeIn
- target@string/screen3_timeFormat
- format e.g.dd.MM.yyyy H:mm:ss
- ⤷
[gn:act_convertTimestampToFormat]|[@+id/timeInDATA,@+id/clockTimeIn,@string/screen3_timeFormat]
- ⤷