• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
OpenTechTips

OpenTechTips

Short Guides for IT Professionals

MENUMENU
  • HOME
  • ALL TOPICS
    • Active Directory
    • Exchange
    • InfoSec
    • Linux
    • Networking
    • Scripting
      • PowerShell
    • SSL
    • Virtualization
    • Web
    • Tools
  • ABOUT
  • SUBSCRIBE
Home » Windows Timestamp Converter Online and in PowerShell – Integer8

Windows Timestamp Converter Online and in PowerShell – Integer8

October 21, 2020 - by Zsolt Agoston - last edited on October 31, 2020


Integer8 example: 130567517440984934

UTC time:
Your local time:
 
 

The Windows Time Stamp Format - aka Integer8

Microsoft Windows environments use the Integer8 timestamp format. A 64-bit value representing the number of 100-nanoseconds elapsed since January 1, 1601 (UTC).

Conversion with PowerShell

PS C:\> Get-ADUser Alice -Properties * | fl lastLogon
lastLogon : 132463843855875757

# Convert to Local time
PS C:\> [datetime]::FromFileTime("132463843855875757")
05 October 2020 16:13:05

# Convert to UTC time
PS C:\> [datetime]::FromFileTimeUTC("132463843855875757")
05 October 2020 15:13:05

Reader Interactions

Community Questions Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Tools

Secondary Sidebar

CONTENTS

  • The Windows Time Stamp Format – aka Integer8
  • Conversion with PowerShell

  • Terms of Use
  • Disclaimer
  • Privacy Policy