You are here

public function DatexGregorian::objectFromDate in Datex 7.2

File

datex_api/DatexGregorian.inc, line 93
Gregorian for datex. Nothinf special, always calls DateTime methods to handle stuff.

Class

DatexGregorian
Default Gregorian for datex.

Code

public function objectFromDate($date, $tz = NULL) {
  return $this
    ->xobjectFromDate($date, $tz);
}