You are here

public function cmfcCalendarV1Gregorian::valueToTimeStamp in Calendar Systems 8

Same name and namespace in other branches
  1. 8.2 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::valueToTimeStamp()
  2. 7 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::valueToTimeStamp()
  3. 7.2 calendar/v1/calendarSystems/gregorian.class.inc.php \cmfcCalendarV1Gregorian::valueToTimeStamp()

File

calendar/v1/calendarSystems/gregorian.class.inc.php, line 293

Class

cmfcCalendarV1Gregorian
@desc

Code

public function valueToTimeStamp($y, $m, $d, $h, $i, $s) {
  return $value = strtotime("{$y}-{$m}-{$d} {$h}:{$i}:{$s}");
}