function cmfcCalendarV1Iranian::timestampToStr in Calendar Systems 5
Same name and namespace in other branches
- 6.3 calendar/v1/calendarSystems/iranian.class.inc.php \cmfcCalendarV1Iranian::timestampToStr()
- 6 calendar/v1/calendarSystems/iranian.class.inc.php \cmfcCalendarV1Iranian::timestampToStr()
- 7.3 calendar/v1/calendarSystems/iranian.class.inc.php \cmfcCalendarV1Iranian::timestampToStr()
Overrides cmfcCalendarV1::timestampToStr
File
- calendar/
v1/ calendarSystems/ iranian.class.inc.php, line 91
Class
Code
function timestampToStr($format, $timestamp = null) {
if (is_null($timestamp)) {
$timestamp = $this
->phpTime();
}
return $this
->date($format, $timestamp);
}