function cmfcCalendarV1Gregorian::timestampToStr in Calendar Systems 6
Same name and namespace in other branches
- 8 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::timestampToStr()
- 8.2 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::timestampToStr()
- 5 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::timestampToStr()
- 6.3 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::timestampToStr()
- 7.3 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::timestampToStr()
- 7 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::timestampToStr()
- 7.2 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::timestampToStr()
Overrides cmfcCalendarV1::timestampToStr
File
- calendar/v1/ calendarSystems/ gregorian.class.inc.php, line 79 
Class
- cmfcCalendarV1Gregorian
- @desc
Code
function timestampToStr($format, $timestamp = null) {
  if (is_null($timestamp)) {
    $timestamp = $this
      ->phpTime();
  }
  return $this
    ->phpDate($format, $timestamp);
}