Template:String:StringToSeconds syntax: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(Automatically generated page update) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- This page was automatically generated and will be automatically | <!-- This page was automatically generated and will be automatically | ||
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">%seconds</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:StringToSeconds</span><span class="literal">(</span> <span class="term" title="String"> | <p class="syntax"><span class="term">%seconds</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:StringToSeconds</span><span class="literal">(</span> <span class="term" title="String">format</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> | ||
Throws [[InvalidDateString class|InvalidDateString]]</p> |
Latest revision as of 20:03, 21 March 2013
%seconds = string:StringToSeconds( format, [[CentSpan=] number]) Throws InvalidDateString