microsoft/PowerToys

Request to add date calculation function

开放

#38,749 创建于 2025年4月11日

 (6 条评论) (1 个反应) (0 位负责人)C# (7,978 个派生)batch import
CmdPal - CalculatorCmdPal-Inbox ExtensionsHelp WantedProduct-Command Palettecmdpal-Extension Request

仓库指标

星标
 (133,154 个星标)
PR 合并指标
 (平均合并 14天 20小时) (30 天内合并 117 个 PR)

描述

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

贡献者指南