The HijriGregorianConverter plugin is a Client Action that allows you to convert the Gregorian Date to Hijri Date and opposite
1- Check HijriGregorianConverter Plugin
Before you start using any other action of the HijriGregorianConverter plugin, you should check if the plugin is working properly on your device. In order to do it, you should use the CheckHijriDatePlugin action that will return you the success boolean with either true or false according to if the plugin is working or not. If the plugin is not working correctly, this action returns a false error with an error code and message.
2- ConvertToHijri Action
Now After Checking if the plugin IsAvailable, we need to add ConvertToHijri, this Action takes some input, and all of them are mandatory.
As for the inputs.
A- Type: Integer variable that defines the type of converter you need to use:
1 > To Convert Gregorianto to Hijri.
2 > To Convert Hijri to Gregorian.
B- Year: Integer variable that defines the year you need to convert it.
C- Month: Integer variable that defines the month you need to convert it.
D- Day: Integer variable that defines the day you need to convert it.
E- Format: Text variable that defines the format of the date as you want