[F/OS]Hijri date for Muslim [Beta]

Description

this is sample extensione to get Hijri date

Picture of all the blocks

Untitl0ed

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

17 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

2 Likes

what is the blok

1 Like

Thank you so much for the lovely extension

However the outcomes of the extension is as follows:
yyyy-mm-dd (example 1444-12-17)
Can you please change the sequence?order of the date to be :
dd-mm-yyyy
(17-12-1444)
instead

Thank you in advance

1 Like