microsoft/PowerToys

Request to add date calculation function

Open

#38,749 opened on Apr 11, 2025

View on GitHub
 (6 comments) (1 reaction) (0 assignees)C# (7,978 forks)batch import
CmdPal - CalculatorCmdPal-Inbox ExtensionsHelp WantedProduct-Command Palettecmdpal-Extension Request

Repository metrics

Stars
 (133,154 stars)
PR merge metrics
 (Avg merge 14d 20h) (117 merged PRs in 30d)

Description

Description of the new feature / enhancement

I can use Alt + Spacebar to bring up the query window, and I can do some simple addition, subtraction, multiplication and division operations in this query window, which is very convenient. So is it possible to make it support date addition and subtraction as well?
For example (yyyy-MM-dd): 2025.04.11 - 7 = 2025.04.04 2025.04.11 - 2025.04.04 = 7

Scenario when this would be used?

Obviously I'll use it to calculate date related stuff.

Supporting information

try this, guys. Date Calculator

Contributor guide