28 public function toSlot($epoch, $slotsize)
31 return floor( ($epoch + $this->offset +
$dst) / $slotsize);
38 return $slot*$slotsize - $this->offset -
$dst;
43 return date($dateformat, $epoch);
toSlot($epoch, $slotsize)
fromSlot($slot, $slotsize)
prettyDateSlot($slot, $slotsize, $dateformat)
prettyHeader($from, $to, $slotsize, $dateformat)
__construct($offset)
Constructor.
foreach($mandatory_scripts as $file) $timestamp
prettyDateEpoch($epoch, $dateformat)