A date arithmetic extension for the PowerToys Command Palette on Windows 11.
Open Date Calculator in Command Palette, then enter an expression:
today + 30d
tomorrow - 2w
2026-08-17 + 1m
17/08/2026 - 1y
Dates use the current Windows regional format. ISO yyyy-MM-dd dates always work. The aliases today, tomorrow, and yesterday are also accepted.
| Unit | Meaning |
|---|---|
d |
days |
w |
weeks |
m |
calendar months |
y |
calendar years |
Press Enter on a result to copy it in the current Windows short-date format.
The parser is platform-neutral and can be tested anywhere with the .NET 10 SDK:
dotnet test DateCalc.Core.Tests/DateCalc.Core.Tests.csprojBuilding and deploying the extension requires Windows 11, PowerToys, Developer Mode, and Visual Studio 2022 with the WinUI/Windows App SDK workloads:
- Open
DateCalc.slnand selectx64orARM64. - Use Build > Deploy DateCalc. Running the unpackaged profile does not deploy the app extension.
- Open Command Palette and run Reload Command Palette extensions.
- Open Date Calculator.
Pushing a version tag such as v0.1.1 runs the Windows release workflow and creates x64 and ARM64 per-user MSI installers in a GitHub Release. The installers are built with WiX v6 from installer.wxs and register the extension COM server under HKCU without elevation.
For discovery in Command Palette, submit those installer URLs to WinGet and include this tag in each locale manifest:
Tags:
- windows-commandpalette-extensionDateCalc is self-contained and does not use the Windows App SDK, so its WinGet manifest needs no Windows App Runtime dependency. Declare that dependency only if the extension is changed to use Windows App SDK.