<p>I am trying to write a unix command line utility that will extract the "application" icon from a Windows Mobile executable.  When I look inside the .exe with <a href="http://www.nongnu.org/icoutils/" rel="nofollow noreferrer">wrestool</a> from the icoutils package, I see multiple icon and group_icon resources.  I am trying to figure out which icon the Windows Mobile Programs view would choose to display to the end user.</p>

<p>At first, I figured it would be the icon with name 32512 (IDI_APPLICATION), but then I found several Windows Mobile binaries that lacked this icon resource, but sure enough had visible icons in the Programs view.</p>

<p>Is there a simple but correct algorithm?  like lowest resource id? Is there another resource in the .exe that tells me what is the application icon?  Is there something obvious that I am missing?</p>

<p>Any insight would be appreciated.</p>

MySQL doesn't support milliseconds in any of the time / date columns, or return it in
```
NOW()
```
so unfortunately, no.
If you have a string in a date / time + microseconds format you can use
```
SELECT MICROSECOND('1997-12-31 23:59:59.000010');
```
to extract the microseconds.