(→Action signatures) |
(→Convert timestamp from certain widget) |
||
Line 24: | Line 24: | ||
**[[Datatypes#dateTime|dateTime]] | **[[Datatypes#dateTime|dateTime]] | ||
**[[Datatypes#time|time]] | **[[Datatypes#time|time]] | ||
+ | **[[Datatypes#number|number]] | ||
|- | |- | ||
| [[target]] | | [[target]] |
Revision as of 11:01, 25 May 2017
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]