<?php
 
header('Content-Type: text/plain');
 
require 'LocalTime.class.php';
 
 
$LocalTime = new LocalTime('deu');
 
$LocalTime->addOwnDict(array(
 
'heute' => 'today',
 
'morgen' => 'tomorrow'
 
// , ...
 
));
 
echo date('l', $LocalTime->strtotime('+1 Montag 15.10.2010')), PHP_EOL; // outputs "Monday"
 
echo $LocalTime->date('l', strtotime('15.10.2010')), PHP_EOL; // outputs "Freitag"
 
 
 |