function cmfcCalendarV1::timestampToStr in Calendar Systems 7.2
Same name and namespace in other branches
- 8 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::timestampToStr()
- 8.2 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::timestampToStr()
- 5 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::timestampToStr()
- 6.3 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::timestampToStr()
- 6 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::timestampToStr()
- 7.3 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::timestampToStr()
- 7 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::timestampToStr()
3 calls to cmfcCalendarV1::timestampToStr()
- cmfcCalendarV1Arabic::timestampToStr in calendar/v1/ calendarSystems/ arabic.class.inc.php 
- cmfcCalendarV1Gregorian::timestampToStr in calendar/v1/ calendarSystems/ gregorian.class.inc.php 
- cmfcCalendarV1Julian::timestampToStr in calendar/v1/ calendarSystems/ julian.class.inc.php 
4 methods override cmfcCalendarV1::timestampToStr()
- cmfcCalendarV1Arabic::timestampToStr in calendar/v1/ calendarSystems/ arabic.class.inc.php 
- cmfcCalendarV1Gregorian::timestampToStr in calendar/v1/ calendarSystems/ gregorian.class.inc.php 
- cmfcCalendarV1Julian::timestampToStr in calendar/v1/ calendarSystems/ julian.class.inc.php 
- cmfcCalendarV1Thai::timestampToStr in calendar/v1/ calendarSystems/ thai.class.inc.php 
File
- calendar/v1/ calendarV1.class.inc.php, line 97 
Class
Code
function timestampToStr($format, $timestamp = null) {
  if (is_null($timestamp)) {
    $timestamp = $this
      ->phpTime();
  }
  return $this
    ->date($format, $timestamp);
}