QGIS/resources/function_help/tointerval-en_US
2013-05-11 13:16:26 +10:00

13 lines
436 B
Plaintext

<h3>tointerval() function</h3>
Converts a string to a interval type. Can be used to take days, hours, month, etc off a date.
<h4>Syntax</h4>
<code>tointerval('string')</code><br>
<h4>Arguments</h4>
<code>string</code> - is string. Format {n} days {n} hours {n} months
<br>
<h4>Example</h4>
<!-- Show example of function.-->
<code>todatetime('2012-05-05 12:00:00') - tointerval('1 day 2 hours') &rarr; 2012-05-04T10:00:00</code><br>