Template:String:TimeStringConvert syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
(Automatically generated page update)
 
Line 2: Line 2:
     replaced, so any manual edits will be lost. You've been warned. -->
     replaced, so any manual edits will be lost. You've been warned. -->
<p class="syntax"><span class="term">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:TimeStringConvert</span><span class="literal">(</span> <span class="term" title="String">inputFormat</span><span class="comma">,</span> <span class="term" title="String">outputFormat</span><span class="comma">,</span>              -
<p class="syntax"><span class="term">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:TimeStringConvert</span><span class="literal">(</span> <span class="term" title="String">inputFormat</span><span class="comma">,</span> <span class="term" title="String">outputFormat</span><span class="comma">,</span>              -
                                       <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">CentSpan=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span></p>
                                       <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">CentSpan=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span>
 
Throws [[InvalidDateString class|InvalidDateString]]</p>

Latest revision as of 20:03, 21 March 2013

%outString = string:TimeStringConvert( inputFormat, outputFormat, - [[CentSpan=] number]) Throws InvalidDateString