You are here

constant Date::KHAYAM_YEAR in PersianTools 7

Length of a year Calculated by Khayam is 365.2422 days (approx.); but as the years are getting shorter the new value (valid from year 1380 Per./2000 A.D.) is used instead.

File

includes/Date.php, line 35

Class

Date

Namespace

Shamsi

Code

const KHAYAM_YEAR = 365.24218956;