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.
HealthGood
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
5 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

Sort and Permute lines

Sort and Permute lines in whole file or selection.

Heading Shifter

Easily Shift and Change Markdown headings.

Paste URL into selection

Paste URL "into" selected text.

Keyshots

Add classic hotkey/shortcuts commands from popular IDEs like Visual Studio Code or JetBrains Family.

Vimrc Support

Auto-load a startup file with Vim commands.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Meta Bind

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

Tasks

Track tasks across your vault. Supports due dates, recurring tasks, done dates, sub-set of checklist items, and filtering. Maintained by Clare Macrae and Ilyas Landikov, created by Martin Schenck.

Day Planner

Turn tasks from daily notes, the Tasks plugin, and calendars into time blocks on an editable timeline, with built-in time tracker.

Find orphaned files and broken links

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.