From wiki.ginstr.com
Revision as of 14:50, 3 March 2017 by Dinko (talk | contribs)
Jump to: navigation, search

gn:act_convertTimestampToFormat

Description
Action used to convert timestamp (numerical value) from certain widget to human readable format.
Action returns
void

Action signatures

Convert timestamp from certain widget

[gn:act_convertTimestampToFormat]|[source,target,format]
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

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]