You are here

function cmfcCalendarV1Thai::timestampToStr in Calendar Systems 8.2

Same name and namespace in other branches
  1. 8 calendar/v1/calendarSystems/thai.class.inc.php \cmfcCalendarV1Thai::timestampToStr()
  2. 6 calendar/v1/calendarSystems/thai.class.inc.php \cmfcCalendarV1Thai::timestampToStr()
  3. 7 calendar/v1/calendarSystems/thai.class.inc.php \cmfcCalendarV1Thai::timestampToStr()
  4. 7.2 calendar/v1/calendarSystems/thai.class.inc.php \cmfcCalendarV1Thai::timestampToStr()

Overrides cmfcCalendarV1::timestampToStr

File

calendar/v1/calendarSystems/thai.class.inc.php, line 59

Class

cmfcCalendarV1Thai

Code

function timestampToStr($format, $timestamp = NULL) {
  if (is_null($timestamp)) {
    $timestamp = time();

    //$this->phpTime();
  }
  return $this
    ->date($format, $timestamp);
}