【问题标题】:How do I get current Solar datetime on the Windows 10 command line?如何在 Windows 10 命令行上获取当前的太阳能日期时间?
【发布时间】:2018-02-17 13:38:15
【问题描述】:

是否有任何 windows 命令可以获取太阳能格式的当前日期

例如1396-11-28

我使用的是 Windows 10

【问题讨论】:

标签: windows datetime batch-file command-line


【解决方案1】:

这很简单。将 Windows 区域设置更改为波斯语(控制面板),重新启动您的 PC,Windows 会以波斯语格式显示所有日期时间。使用获取日期命令。还使用 Windows 托盘中显示的当前日期时间。 https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-date?view=powershell-6

【讨论】:

  • 波斯日期时间旅馆 winows 托盘需要 .Net 框架 4.5 或更高版本
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2023-01-30
  • 1970-01-01
  • 2011-01-01
  • 2018-09-17
  • 1970-01-01
  • 2010-11-17
  • 1970-01-01
相关资源
最近更新 更多