Description
this is sample extensione to get Hijri date
Picture of all the blocks

Instructions to use your extension
- year
Kind:integer
Write the year in Gregorian date
- month
Kind:integer
Write the month in Gregorian date
- day
Kind:integer
Write the day in Gregorian date
Download link :
com.mh.islamic.history.islamichistory.aix (666.3 KB)
This extension is Open source :
To Donate
15 Likes
hijri Date using JavaScript
code is :
let today = new Date().toLocaleDateString(‘fa-IR-u-nu-latn’);
console.log(today);
or
let options = { year: ‘numeric’, month: ‘long’, day: ‘numeric’ };
let today = new Date().toLocaleDateString(‘fa-IR’, options);
console.log(today);
TO HIJRI SAUDI
code :
let today = new Date().toLocaleDateString(‘ar-SA’); console.log(today);
only one click no more
1 Like