Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

TimeDiff

dominiczaqdominiczaq5k downloads

Calculate and displays diff in hours and minutes between two dates in `timediff` Markdown block.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates6

This is a plugin for Obsidian (https://obsidian.md).

How to use

  • Calculates time diffs in timediff markdown block
    ```timediff
    11:10 - 12:20
    12:38 - 14:00
    23:20 - 23:59
    00:00 - 00:55
    ```

In reading mode diffs between the dates will be parsed and presented in readable format. Sum of diffs will be presented at the bottom of the block.

Commands

  • TimeDiff plugin - Show total time diff count in current file command, which calculates total sum of all timediff blocks on the page.
  • TimeDiff plugin - Insert timediff block command, which inserts timediff block in current cursor position.
  • TimeDiff plugin - Insert current time command, which inserts current time in current cursor position.

Local development

  • Clone your repo to a local development folder. For convenience, you can place this folder in your .obsidian/plugins/your-plugin-name folder.
  • Install NodeJS, then run yarn in the command line under your repo folder.
  • Run yarn run dev to compile your plugin from main.ts to main.js.
  • Make changes to main.ts (or create new .ts files). Those changes should be automatically compiled into main.js.
  • Reload Obsidian to load the new version of your plugin.
  • Enable plugin in settings window.
78%
HealthExcellent
ReviewCaution
About
Parse timediff blocks containing ranges like "11:10 - 12:20" and display readable durations for each range with a summed total at the bottom. Show total time diff for the current file and insert timediff blocks or the current time at the cursor.
DatesCommandsEditing
Details
Current version
1.2.0
Last updated
3 months ago
Created
4 years ago
Updates
6 releases
Downloads
5k
Compatible with
Obsidian 0.12.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
dominiczaqdominiczaq
github.com/dominiczaq/obsidian-plugin-time-diff
GitHubdominiczaq
  1. Community
  2. Plugins
  3. Dates
  4. TimeDiff

Related plugins

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Paste URL into selection

Paste URL "into" selected text.

Vimrc Support

Auto-load a startup file with Vim commands.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Day Planner

Day planning from a task list in a Markdown note with enhanced time block functionality.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Outliner

Work with your lists like in Workflowy or Roam Research.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Tasks

Track tasks across your vault. Supports due dates, recurring tasks, done dates, sub-set of checklist items, and filtering.