Hallo,
$von = array(
"11-13-2003",
"01-08-2004",
"02-12-2004",
"03-18-2004",
"05-06-2004",
"06-17-2004",
"08-19-2004",
"09-18-2004",
"10-14-2004",
"11-11-2004",
);foreach ($von as $value)
{
$timestamp=strtotime($value);
echo "$timestamp<br>";
}
naja... ich hätte es so gemacht
foreach ($von as $value) print strtotime($value).'<br>';
ps.
ich meine irgendwo mal gelesen zu haben, dass man das so
foreach ($von as $value)
{
$timestamp=strtotime($value);
echo "$timestamp<br>";
}
nicht schreiben soll, sondern so
foreach ($von as $value){
$timestamp=strtotime($value);
echo "$timestamp<br>";
}