This desktop app helps you quickly calculate the time difference between two date-time values.
Typical uses include checking elapsed time between project milestones, log timestamps, and schedule points.
- Enter two date-times in a single Date-time input field (the app auto-detects both values)
- View readable outputs in seconds, milliseconds, mm:ss, hh:mm:ss, and day-based formats
- Save and reuse your preferred output settings for repeated calculations
Pre-built executables are attached to each version on the Releases page:
- timediff — Linux
- timediff.exe — Windows
In the Date-time input field, paste one line with two date-times, as shown below.
-
2026-03-21 00:59:24 2026-03-21 01:06:28 -
2026/03/21 00:00:00 2026/03/21 12:30:45 -
2026.03.21 08:10:00.125 2026.03.21 08:10:10.875 -
03-21 13:10:00 03-21 16:45:00(if the year is omitted, the current year is used) -
03/21 23:50:00 03/22 00:10:30
Using the following input, here is an example of every supported output format.
Reference input:
2026-03-21 00:00:00.250 2026-03-22 02:03:04.750
Reference settings:
- Language: English
- Zero-padding: on
- Custom format string:
{dd}d {hh}:{mm}:{ss}.{ms} (total={total_seconds}s, {total_ms}ms)
Example results:
- Seconds (
seconds):93784 seconds - Milliseconds (
milliseconds):93,784,500ms - mm:ss (
mmss):1563 minutes 4 seconds - hh:mm:ss (
hhmmss):26 hours 3 minutes 4 seconds - dd hh:mm:ss (
ddhhmmss):1 day 2 hours 3 minutes 4 seconds - Full (with ms) (
full):1 day 2 hours 3 minutes 4 seconds 500ms - Custom (
custom):01d 02:03:04.500 (total=93784s, 93784500ms)
cd path\to\Time-Diff-Calculator
wails devcd path\to\Time-Diff-Calculator
go test ./...cd path\to\Time-Diff-Calculator
.\scripts\build.ps1Build artifacts are written under build\bin\.
cd path\to\Time-Diff-Calculator
.\scripts\build.ps1 -Native
.\scripts\build.ps1 -AllPlatforms
.\scripts\build.ps1 -NoTest
.\scripts\build.ps1 -Clean
.\scripts\build.ps1 -WailsArgs @('-platform','linux/amd64')- Go 1.23+
- Wails CLI v2 (
wails version)
User settings are stored in timediff\settings.json under the OS user configuration directory.
On Windows, this is typically near %APPDATA%\timediff\settings.json.
After adding or changing Go methods exposed to the frontend, run one of the following to refresh frontend/wailsjs:
wails devwails buildwails generate module
두 날짜/시간 사이의 차이를 쉽게 계산하는 데스크톱 앱입니다.
예: "프로젝트 시작일부터 오늘까지 며칠?", "두 시점 차이가 몇 시간?" 같은 계산을 빠르게 확인할 수 있습니다.
- Date-time input 한 칸에 날짜·시간 두 개를 넣어 차이 계산 (앱이 자동으로 두 시점을 인식)
- 일/시간/분/초 등 읽기 쉬운 형식으로 결과 확인
- 반복 계산 시 설정값 저장 후 다시 사용
Releases 페이지에서 버전별로 빌드된 실행 파일을 내려받을 수 있습니다.
- timediff — Linux용
- timediff.exe — Windows용
Date-time input 입력란에 아래처럼 한 줄로 그대로 입력하면 됩니다.
-
2026-03-21 00:59:24 2026-03-21 01:06:28 -
2026/03/21 00:00:00 2026/03/21 12:30:45 -
2026.03.21 08:10:00.125 2026.03.21 08:10:10.875 -
03-21 13:10:00 03-21 16:45:00(연도 생략 시 올해로 해석) -
03/21 23:50:00 03/22 00:10:30
아래 입력을 기준으로, 프로그램에서 지원하는 모든 출력 포맷 예시는 다음과 같습니다.
기준 입력:
2026-03-21 00:00:00.250 2026-03-22 02:03:04.750
기준 설정:
- 언어: 한국어
- Zero-padding: 켜짐
- Custom format string:
{dd}d {hh}:{mm}:{ss}.{ms} (total={total_seconds}s, {total_ms}ms)
결과 예시:
- 초 단위 (
seconds):93784초 - 밀리초 (
milliseconds):93,784,500ms - 분:초 (
mmss):1563분 04초 - 시:분:초 (
hhmmss):26시간 03분 04초 - 일 시:분:초 (
ddhhmmss):01일 02시간 03분 04초 - 전체(밀리초 포함) (
full):01일 02시간 03분 04초 500ms - 사용자 정의 (
custom):01d 02:03:04.500 (total=93784s, 93784500ms)
cd path\to\Time-Diff-Calculator
wails devcd path\to\Time-Diff-Calculator
go test ./...cd path\to\Time-Diff-Calculator
.\scripts\build.ps1산출물은 build\bin\에 생성됩니다.
cd path\to\Time-Diff-Calculator
.\scripts\build.ps1 -Native
.\scripts\build.ps1 -AllPlatforms
.\scripts\build.ps1 -NoTest
.\scripts\build.ps1 -Clean
.\scripts\build.ps1 -WailsArgs @('-platform','linux/amd64')- Go 1.23+
- Wails CLI v2 (
wails version)
사용자 설정은 OS 사용자 설정 디렉터리의 timediff\settings.json에 저장됩니다.
Windows에서는 보통 %APPDATA%\timediff\settings.json 경로 근처입니다.
Go 메서드를 추가/변경한 뒤 아래 명령 중 하나를 실행하면 frontend/wailsjs가 갱신됩니다.
wails devwails buildwails generate module
