You are here

function cmfcCalendarV1::phpTime in Calendar Systems 8.2

Same name and namespace in other branches
  1. 8 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::phpTime()
  2. 5 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::phpTime()
  3. 6.3 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::phpTime()
  4. 6 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::phpTime()
  5. 7.3 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::phpTime()
  6. 7 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::phpTime()
  7. 7.2 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::phpTime()
17 calls to cmfcCalendarV1::phpTime()
cmfcCalendarV1::countDown in calendar/v1/calendarV1.class.inc.php
* For supporting timezone , use this class date and time functions like phpDate
cmfcCalendarV1::timestampToStr in calendar/v1/calendarV1.class.inc.php
cmfcCalendarV1Arabic::date in calendar/v1/calendarSystems/arabic.class.inc.php
Implementation of PHP date function This is the simplified version by Sina Salek
cmfcCalendarV1Arabic::makeTime in calendar/v1/calendarSystems/arabic.class.inc.php
cmfcCalendarV1Arabic::timestampToInfoArray in calendar/v1/calendarSystems/arabic.class.inc.php

... See full list

File

calendar/v1/calendarV1.class.inc.php, line 177

Class

cmfcCalendarV1

Code

function phpTime() {
  if (!empty($this->_timeZoneInfo)) {
    $timestamp = time() + $this->_timeZoneInfo['offset'];
  }
  else {
    $timestamp = time();
  }
  return $timestamp;
}