95&quot;.</li>
<li>%#d, %#H, %#I, %#j, %#m, %#M, %#S, %#U, %#w, %#W, %#y, %#Y: Remove leading zeros (if any).</li>
</ul>
<h1 id="format-(overload)-(coledatetime)"><a name="Format2"></a>Format (Overload) (COleDateTime)</h1>
<p>Converts a <strong>COleDateTime</strong> to a formatted string.</p>
<pre><code>FUNCTION Format (BYVAL dwFlags AS DWORD = 0, BYVAL lcid AS LCID = LANG_USER_DEFAULT) AS CWSTR
</code></pre>
<table>
<thead>
<tr class="header">
<th>Parameter</th>
<th>Description</th>
</tr>
</thead>
<tbody>
