214 <div align="right"><a href="#top">Up</a></div> |
214 <div align="right"><a href="#top">Up</a></div> |
215 <hr /> |
215 <hr /> |
216 <hr /> |
216 <hr /> |
217 <a NAME="mtime2string" ID="mtime2string"></a> |
217 <a NAME="mtime2string" ID="mtime2string"></a> |
218 <h2>mtime2string</h2> |
218 <h2>mtime2string</h2> |
219 <b>mtime2string</b>(<i>mtime</i>) |
219 <b>mtime2string</b>(<i>mtime, adjustEpoch=False</i>) |
220 |
220 |
221 <p> |
221 <p> |
222 Function to convert a time value to a string representation. |
222 Function to convert a time value to a string representation. |
223 </p> |
223 </p> |
224 <dl> |
224 <dl> |
225 |
225 |
226 <dt><i>mtime</i> (int)</dt> |
226 <dt><i>mtime</i> (int)</dt> |
227 <dd> |
227 <dd> |
228 time value |
228 time value |
229 </dd> |
229 </dd> |
|
230 <dt><i>adjustEpoch</i> (bool (optional))</dt> |
|
231 <dd> |
|
232 flag indicating to adjust the time for the difference |
|
233 of the MPy epoch (defaults to False) |
|
234 </dd> |
230 </dl> |
235 </dl> |
231 <dl> |
236 <dl> |
232 <dt>Return:</dt> |
237 <dt>Return:</dt> |
233 <dd> |
238 <dd> |
234 string representation of the given time |
239 string representation of the given time |