<p>I want to convert a number that is in <a href="https://en.wikipedia.org/wiki/Netscape_Portable_Runtime#Time" rel="nofollow noreferrer">PRTime</a> format (a 64-bit integer representing the number of microseconds since midnight (00:00:00) 1 January 1970 Coordinated Universal Time (UTC)) to a <code>DateTime</code>.</p>
<p>Note that this is slightly different than the usual &quot;number of milliseconds since 1/1/1970&quot;.</p>

```
```
Dim prTimeInMillis As UInt64
prTimeInMillis = prTime/1000

Dim prDateTime As New DateTime(1970, 1, 1)
prDateTime = prDateTime.AddMilliseconds(prTimeInMillis)
```
```