function cmfcCalendarV1Gregorian::change_to_miladi in Calendar Systems 7
Same name and namespace in other branches
- 8 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::change_to_miladi()
- 8.2 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::change_to_miladi()
- 5 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::change_to_miladi()
- 6.3 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::change_to_miladi()
- 6 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::change_to_miladi()
- 7.3 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::change_to_miladi()
- 7.2 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::change_to_miladi()
File
- calendar/
v1/ calendarSystems/ gregorian.class.inc.php, line 225
Class
- cmfcCalendarV1Gregorian
- @desc
Code
function change_to_miladi($date) {
$date = explode("-", $date);
$date = cmfcDateTime::jalaliToGregorian($date[0], $date[1], $date[2]);
//$date[1] = $date[1] -1;
$date = $date[0] . "-" . $date[1] . "-15";
return $date;
}