LastUpdateTime (ProcedureInfo function): Difference between revisions
Jump to navigation
Jump to search
m (→Examples) |
m (→Syntax terms: extra digits are set to 0) |
||
Line 6: | Line 6: | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table | <table> | ||
<tr><th>%string</th> | <tr><th>%string</th> | ||
<td>A string variable to contain the time of the last update to the <var class="term">procedureInfo</var> procedure. | <td>A string variable to contain the time of the last update to the <var class="term">procedureInfo</var> procedure. | ||
Line 15: | Line 15: | ||
<tr><th>string</th> | <tr><th>string</th> | ||
<td>An optional string that specifies the format of the date value, as described in [[Datetime string formats | <td>An optional string that specifies the format of the date value, as described in [[Datetime string formats]]. The default date format is <code>YYYYMMDDHHMISSXX</code>. An invalid format causes a request cancellation, but if you ask for more digits than are available (<code>XXX</code> instead of <code>XX</code>, for example), the extra digit(s) are set to 0. | ||
<p> | <p> | ||
See also <var>[[LastUpdateTimeMilliseconds (ProcedureInfo function)|LastUpdateTimeMilliseconds]]</var>. </p></td></tr> | See also <var>[[LastUpdateTimeMilliseconds (ProcedureInfo function)|LastUpdateTimeMilliseconds]]</var>. </p></td></tr> |
Latest revision as of 19:20, 20 June 2017
Most recent update as date string (ProcedureInfo class)
[Introduced in Sirius Mods 7.8]
Syntax
%string = procedureInfo:LastUpdateTime[( [string])]
Syntax terms
%string | A string variable to contain the time of the last update to the procedureInfo procedure. |
---|---|
procedureInfo | A ProcedureInfo object variable or expression. |
string | An optional string that specifies the format of the date value, as described in Datetime string formats. The default date format is YYYYMMDDHHMISSXX . An invalid format causes a request cancellation, but if you ask for more digits than are available (XXX instead of XX , for example), the extra digit(s) are set to 0.
See also LastUpdateTimeMilliseconds. |
Examples
See the ProcedureInfo class "Example".