LogonTime

LogonTime

Instantly analyze event logs. An ultra-fast command-line tool to automatically calculate PC active duration.

Windows 10 / 11 / Server | .NET 10 Native AOT (Ultra-Fast) | Portable & No Registry Footprint | 100% Free (Personal & Commercial)
Download Free on GitHub

*No installation required. Runs as a standalone app.

Command Arguments & Usage Guide ↓

Product Overview

"Turn hidden logs into reliable evidence."

LogonTime is an ultra-fast, lightweight command-line tool that parses Windows "System" event logs to extract user logon/logoff times and automatically calculate total active duration. It serves as an accurate, objective record for daily timesheet verification or remote work audit trails.

Flexible Time Range

Specify how many days of logs to inspect using command arguments (defaults to the past 30 days).

CSV & JSON Export

Beyond standard color-coded console output, easily export data via --csv or --json for script automation.

Multilingual Support (i18n)

Automatically switches output messages between English and Japanese according to your system locale.

.NET 10 Native AOT

Zero .NET runtime installation required. Operating as a single standalone executable with near-instant execution.

Analyzed Metrics & Capabilities

Logon Start Times
Logoff / Shutdown Times
Active Session Duration
Logged-in Username
Daily Log Aggregation
CSV / JSON Data Output

Primary Use Cases

Objective working hours evidence during remote work and telecommuting
Verifying boot and shutdown times when filling monthly timesheets or correcting timecards
Automating monthly attendance log collection to CSV via PowerShell scheduled tasks
Auditing unexpected after-hours or late-night workstation utilization

Screenshots

Click any image to enlarge.

LogonTime Console Output
Click to Enlarge

Execution Result (Standard Output)

Logon/logoff actions and calculated durations are color-coded for quick review.

LogonTime Help Screen
Click to Enlarge

Help Screen (--help)

Lists all available arguments and options including CSV and JSON export preferences.

How to Use

01

Simple Run

Double-click LogonTime.exe to view the past 30 days of logs (window pauses automatically).

02

Custom Period

Specify the number of days as a command argument, such as LogonTime.exe 14.

03

Data Export

Append --csv or --json to redirect outputs into scripts or spreadsheet files.

Seamlessly integrates into shell scripts and pipe redirection without hanging.

Frequently Asked Questions (FAQ)

No. In standard Windows client editions, regular standard user permissions can read the System event log entries needed to extract your own logon history.

Yes. Using LogonTime.exe --csv > attendance.csv lets you redirect the output directly to a CSV file for automated parsing in Excel or integration with corporate timekeeping systems.

Yes, LogonTime is completely free for both commercial and personal use. Feel free to use it across company PCs for telecommuting verification.

Analyze PC Usage Duration Instantly

Single executable, Native AOT ultra-fast speed. Download from GitHub today.

Changelog

  • v26.6.13.0 Jun 13, 2026
    Migrated to .NET 10.0 / Native AOT, added CSV/JSON export options, and implemented multilingual (EN/JA) support.
  • v24.3.5.0 Mar 5, 2024
    Added support for English OS environments.
  • v23.10.31.1 Oct 31, 2023
    Fixed a bug when the username was unidentified.
  • v22.6.12.0 Jun 12, 2022
    Optimized binary footprint and processing speed.
  • v22.5.27.1 May 27, 2022
    Initial release.