function TodayYMD() { return $this->JDtoYMD(GregorianDate::YMDtoJD(date('Y'), date('n'), date('j'))); }
function search_indis_year_range($startyear, $endyear) { // TODO: We should use Julian-days, rather than gregorian years, // to allow // the lifespan chart, etc., to use other calendars. $startjd = GregorianDate::YMDtoJD($startyear, 1, 1); $endjd = GregorianDate::YMDtoJD($endyear + 1, 1, 1) - 1; return search_indis_daterange($startjd, $endjd, ''); }