0
Answered
Using the Rest API, an I query the Hebrew day of the month in Hebrew?
For example, if the Hebrew date is 15 Iyyar 5780, How can I pull only ט"ו
Answer
Answer
Answered
Similarly, if you want to represent numbers using gematriya, you can avoid using the REST API completely and instead use a simple gematriya function in the programming language of your choice.
Here's the implementation that Hebcal uses. If you don't use JavaScript, you'll see it's extremely straightforward to port to another programming language.
https://github.com/hebcal/hebcal-es6/blob/main/src/gematriya.js
For example, here's a port to Swift
https://github.com/hebcal/hebcal-swift/blob/main/Sources/Hebcal/hebnum.swift
Customer support service by UserEcho
Similarly, if you want to represent numbers using gematriya, you can avoid using the REST API completely and instead use a simple gematriya function in the programming language of your choice.
Here's the implementation that Hebcal uses. If you don't use JavaScript, you'll see it's extremely straightforward to port to another programming language.
https://github.com/hebcal/hebcal-es6/blob/main/src/gematriya.js
For example, here's a port to Swift
https://github.com/hebcal/hebcal-swift/blob/main/Sources/Hebcal/hebnum.swift