Can i create a folder with hebrew date name?
I want to use hebrew date in powershell in order to creade folder whith hebrew date name
Answer
You could run the Hebcal CLI (command-line interface) as part of your powershell script and capture the output into an environment variable.
https://github.com/hebcal/hebcal
The Hebcal CLI is written in Go, so it's cross-platform and should compile/run just fine on Windows.
Here's what it looks like on Linux/macOS -- should be the same on Windows
$ hebcal -T -h -x | head -128th of Iyyar, 5783
$ hebcal -T -h -x --lang=he | head -1
כ״ח אִיָיר תשפ״ג
$
thank you for the answer,
My problem is that I don't know how to get today's Hebrew date into a parameter to use it in powershell
Hi, thanks for using Hebcal.
From reading an article that Microsoft posted, I believe it's possible to use Unicode characters in a folder name
https://learn.microsoft.com/en-us/windows/win32/intl/character-sets-used-in-file-names
Customer support service by UserEcho
You could run the Hebcal CLI (command-line interface) as part of your powershell script and capture the output into an environment variable.
https://github.com/hebcal/hebcal
The Hebcal CLI is written in Go, so it's cross-platform and should compile/run just fine on Windows.
Here's what it looks like on Linux/macOS -- should be the same on Windows
$ hebcal -T -h -x | head -128th of Iyyar, 5783
$ hebcal -T -h -x --lang=he | head -1
כ״ח אִיָיר תשפ״ג
$