You are here

constant Date::KHAYAM_YEAR_CORRECTION in PersianTools 7

Recent calculations has introduced a correcting factor, which Khayam could not reach. This is used to better adjust length of each year in seconds.

File

includes/Date.php, line 42

Class

Date

Namespace

Shamsi

Code

const KHAYAM_YEAR_CORRECTION = 6.152E-8;