The format characters
-
To view Hijri Calendar you must change date format and add the below letter Symbols. Notice that we use the same letters of date() PHP function and only adding underscore(_) prefix to them.
The supported letters to view Hijri Calendar in dateformat are (notice that _ is part of symbol):
_j Day of the month without leading zeros
_d Day of the month, 2 digits with leading zeros
_z The day of the year (starting from 0)
_M A short textual representation of a month, such as ‘Ram’
_F A full textual representation of a month, such as ‘Ramadan’
_m Numeric representation of a month, with leading zeros
_n Numeric representation of a month, without leading zeros
_t Number of days in the given month
_L Whether it’s a leap year, 1 if it is a leap year, 0 otherwise
_Y A full numeric representation of a year, 4 digits
_y A two digit representation of a year????? ???????? ????
https://salafitech.net/bb/viewtopic.php?f=42&t=202
- The topic ‘The format characters’ is closed to new replies.