creesee28 downloadsA countdown timer for tracking days left to future events or days passed since past dates.
Days Left is a highly customizable countdown and count-up timer for Obsidian. Keep track of upcoming deadlines, exciting future events, or see how many days have passed since important milestones—right inside your notes.
With its smart Spotlight mode and proactive alerts, your notes become dynamic dashboards that actively remind you of what matters most.
Static dates in notes easily get lost. You write "Project due on 2026-10-15", but unless you check it daily, it sneaks up on you. Days Left solves this by:
to:).to:).from: and to:).from:).You can insert counters manually or use the built-in Obsidian commands (Ctrl/Cmd + P -> Insert countdown block) to generate it instantly.
Create a daysleft code block. It supports multiple parameters, but only to is strictly required.
text: Flight to Tokyo! ✈️
to: 2026-05-24
language:en
Result: Displays a large, centered counter saying "5 days left" (or "Today!") below the text "Flight to Tokyo! ✈️", with the final formatted date underneath.
Use the following inline syntax inside your sentences or task lists:
- [ ] Submit the tax report ⏳ `dl:2026-04-30`
(Note: Simply type the letters dl: followed by the target date, all wrapped in single backticks).
Result: The tag renders seamlessly as "5 days" (or "5 days ago" / "Today" depending on the date), making it perfect for tracking task deadlines.
This is where the magic happens.
In the plugin settings, you can configure the Spotlight threshold (e.g., 2 days).
spotlightColor and can become bold.The Smart Engine:
daysleft block, the plugin stays quiet. It will only alert you later or upon restarting the app.Ctrl/Cmd while clicking to open it in a new tab!You can configure global defaults in the Obsidian Settings menu. However, you can also override any global setting locally inside a specific code block!
Here are the parameters you can use inside a daysleft block:
| Parameter | Example Value | Description |
|---|---|---|
text |
My Birthday |
A label displayed above the counter. |
to |
2026-10-15 |
The target date (YYYY-MM-DD format). |
from |
2004-11-04 |
The starting date. Defaults to today's date. |
language |
en, es, pl... |
Forces a specific language for this counter. |
dayCounterColor |
blue, #4CAF50 |
Color for future events. |
dayCounterColorPast |
gray, var(--text-faint) |
Color for events that have already passed. |
hideOnPast |
true / false |
true: the counter completely disappears after the date passes. |
spotlightDays |
3 |
Number of days before the event to trigger Spotlight mode. |
spotlightColor |
red |
Color of the counter when in the Spotlight zone. |
spotlightBold |
true / false |
Makes the counter bold when in the Spotlight zone. |
spotlightAlert |
notice / modal / none |
Override the notification type for this specific event. |
spotlightAlertDuration |
30 |
Notice duration in seconds. 0 keeps it open until clicked. |
showDaysText |
true / false |
true: shows "5 days left". false: shows just the number "5". |
todayTomorrow |
true / false |
true: shows "Today/Tomorrow". false: shows "0/1 days". |
showFinalDate |
true / false |
Displays the target date below the block counter. |
finalDateFormat |
D MMMM YYYY |
Formats the final date (Uses Moment.js syntax). |
⚠️ Note on Spotlight: Spotlight styling and alerts work ONLY for dynamic upcoming events. If you use the from: parameter (duration mode), Spotlight features are automatically disabled for that specific block.
```daysleft
text: Extremely urgent deadline!
to: 2026-05-10
spotlightColor: #ff0000
spotlightAlert: modal
todayTomorrow: false
```
The plugin automatically formats plurals and grammar rules according to the selected language:
en)pl)es)fr)de)ja)uk)zh)From Obsidian Community Plugins (Recommended):
Manual installation:
main.js, manifest.json, styles.css) from the GitHub Releases page..obsidian/plugins/days-left/.Days Left is designed and maintained by creesee.
If you find a bug, have a feature request, or want to contribute a new language translation, feel free to open an Issue or a Pull Request on the GitHub repository!
If you love this plugin and it helps you stay organized, consider leaving a ⭐ on GitHub! If you'd like to support my work and fuel future updates, you can treat me to a coffee: