From wiki.ginstr.com
Jump to: navigation, search
m (Set date/time format)
m (Example)
 
Line 30: Line 30:
 
====Example====
 
====Example====
 
:<code>@+id/chronometer</code> - target<br>
 
:<code>@+id/chronometer</code> - target<br>
:<code>@string/newPhotoName</code> - time format<br>
+
:<code>@string/dateTimeFormat</code> - time format<br>
 
:; ⤷ <code>[gn:act_setDateTimeFormat]|[@+id/chronometer,@string/dateTimeFormat]</code>
 
:; ⤷ <code>[gn:act_setDateTimeFormat]|[@+id/chronometer,@string/dateTimeFormat]</code>
 
<hr>
 
<hr>

Latest revision as of 11:48, 2 August 2017

gn:act_setDateTimeFormat

Description
Action is used to define date time format of value stored in GnChronometer
Action returns
void

Action signatures

Set date/time format

[gn:act_setDateTimeFormat]|[target,source]
Parameter Description
target target on which media file rename will be performed
source source of date/time format

Example

@+id/chronometer - target
@string/dateTimeFormat - time format
[gn:act_setDateTimeFormat]|[@+id/chronometer,@string/dateTimeFormat]