You are here

public static function DatexCalendarIterface::toGregorian in Datex 7.2

Opposite of DatexCalendarIterface::convert().

2 methods override DatexCalendarIterface::toGregorian()
DatexGregorian::toGregorian in datex_api/DatexGregorian.inc
Opposite of DatexCalendarIterface::convert().
DatexJalali::toGregorian in datex_api/DatexJalali.inc
Converts a Jalali date to Gregorian.

File

datex_api/datex_api.class.inc, line 50
Provides an API to work with dates.

Class

DatexCalendarIterface
A calendar class extending DatexObject should implement this interface to function correctly. An example implemention is DatexJalali.

Code

public static function toGregorian($year = 0, $month = 0, $day = 0);