Fork me on GitHub

Timestamp Converter

Examples:

        date +%s
        date -d @1640290674
        
        date +%s -d"Jan 1, 1980 00:00:01"
        w32tm.exe /ntte 131001091660000000
      

References
  1. LDAP, Active Directory & Filetime Timestamp Converter
  2. Epoch & Unix Timestamp Conversion Tools
  3. Unix Timestamp - Epoch Converter
  4. Get current time in seconds since the Epoch on Linux, Bash
  5. Windows Time service tools and settings | Using W32tm.exe