 to &quot;yyyy&quot;.</td>
</tr>
</tbody>
</table>
<h4 id="return-value-2">Return value</h4>
<p>The formatted date.</p>
<h1 id="timestring"><a name="TimeString"></a>TimeString</h1>
<p>Retuns the time as a string based on the specified mask, e.g. &quot;hh':'mm':'ss&quot;.</p>
<pre><code>FUNCTION TimeString (BYREF wszMask AS WSTRING, BYVAL lcid AS LCID = LOCALE_USER_DEFAULT) AS CWSTR
</code></pre>
<table>
<thead>
<tr class="header">
<th>Parameter</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="odd