bei meinem php auktionshaus werden die start und ende zeiten nicht angezeigt und die auktion wird sofort beendet
sowas steht
Verbleibende Zeit beendet
Start 1-. -0 2006, 26: 0 GMT
Endet 1-. -0 2006, 29: 0 GMT
bei Start mus des einstelldatum und bei Endet das auktionende datum
stehen. Und das die auktionen nicht gleich beendet werden
was kann ich machen hilfe biiite .
*/
//-- Date and time hanling functions
if(!function_exists(ActualDate)) {
function ActualDate(){
$month = date("m");
switch($month){
case "01":
$month = "Januar";
break;
case "02":
$month = "Februar";
break;
case "03":
$month = "März";
break;
case "04":
$month = "April";
break;
case "05":
$month = "Mai";
break;
case "06":
$month = "Juni";
break;
case "07":
$month = "Juli";
break;
case "08":
$month = "August";
break;
case "09":
$month = "September";
break;
case "10":
$month = "Oktober";
break;
case "11":
$month = "November";
break;
case "12":
$month = "Dezember";
break;
}
$day = date("d.");
$year = date(" Y H:i:s");
return $day.$month.$year;
}
}
if(!function_exists(ArrangeDate)) {
function ArrangeDate($day,$month,$year,$hours,$minutes){
switch($month){
case "01":
$month = "Jan.";
break;
case "02":
$month = "Feb.";
break;
case "03":
$month = "Mär.";
break;
case "04":
$month = "Apr.";
break;
case "05":
$month = "Mai.";
break;
case "06":
$month = "Jun.";
break;
case "07":
$month = "Jul.";
break;
case "08":
$month = "Aug.";
break;
case "09":
$month = "Sep.";
break;
case "10":
$month = "Okt.";
break;
case "11":
$month = "Nov.";
break;
case "12":
$month = "Dez.";
break;
}
$return = $day.". ".$month." ".$year;
if($hours && $minutes){
$return .= ", ".$hours.":".$minutes;
}
return $return;
}
}
if(!function_exists(ArrangeDateMesCompleto)) {
function ArrangeDateMesCompleto($day,$month,$year,$hours,$minutes){
switch($month){
case "01":
$month = "Januar";
break;
case "02":
$month = "Februar";
break;
case "03":
$month = "März";
break;
case "04":
$month = "April";
break;
case "05":
$month = "Mai";
break;
case "06":
$month = "Juni";
break;
case "07":
$month = "Juli";
break;
case "08":
$month = "August";
break;
case "09":
$month = "September";
break;
case "10":
$month = "Oktober";
break;
case "11":
$month = "November";
break;
case "12":
$month = "Dezember";
break;
}
$return = $day.". ".$month." ".$year;
if($hours && $minutes){
$return .= ", ".$hours.":".$minutes;
}
return $return;
}
}
?>
sowas steht
Verbleibende Zeit beendet
Start 1-. -0 2006, 26: 0 GMT
Endet 1-. -0 2006, 29: 0 GMT
bei Start mus des einstelldatum und bei Endet das auktionende datum
stehen. Und das die auktionen nicht gleich beendet werden
was kann ich machen hilfe biiite .
*/
//-- Date and time hanling functions
if(!function_exists(ActualDate)) {
function ActualDate(){
$month = date("m");
switch($month){
case "01":
$month = "Januar";
break;
case "02":
$month = "Februar";
break;
case "03":
$month = "März";
break;
case "04":
$month = "April";
break;
case "05":
$month = "Mai";
break;
case "06":
$month = "Juni";
break;
case "07":
$month = "Juli";
break;
case "08":
$month = "August";
break;
case "09":
$month = "September";
break;
case "10":
$month = "Oktober";
break;
case "11":
$month = "November";
break;
case "12":
$month = "Dezember";
break;
}
$day = date("d.");
$year = date(" Y H:i:s");
return $day.$month.$year;
}
}
if(!function_exists(ArrangeDate)) {
function ArrangeDate($day,$month,$year,$hours,$minutes){
switch($month){
case "01":
$month = "Jan.";
break;
case "02":
$month = "Feb.";
break;
case "03":
$month = "Mär.";
break;
case "04":
$month = "Apr.";
break;
case "05":
$month = "Mai.";
break;
case "06":
$month = "Jun.";
break;
case "07":
$month = "Jul.";
break;
case "08":
$month = "Aug.";
break;
case "09":
$month = "Sep.";
break;
case "10":
$month = "Okt.";
break;
case "11":
$month = "Nov.";
break;
case "12":
$month = "Dez.";
break;
}
$return = $day.". ".$month." ".$year;
if($hours && $minutes){
$return .= ", ".$hours.":".$minutes;
}
return $return;
}
}
if(!function_exists(ArrangeDateMesCompleto)) {
function ArrangeDateMesCompleto($day,$month,$year,$hours,$minutes){
switch($month){
case "01":
$month = "Januar";
break;
case "02":
$month = "Februar";
break;
case "03":
$month = "März";
break;
case "04":
$month = "April";
break;
case "05":
$month = "Mai";
break;
case "06":
$month = "Juni";
break;
case "07":
$month = "Juli";
break;
case "08":
$month = "August";
break;
case "09":
$month = "September";
break;
case "10":
$month = "Oktober";
break;
case "11":
$month = "November";
break;
case "12":
$month = "Dezember";
break;
}
$return = $day.". ".$month." ".$year;
if($hours && $minutes){
$return .= ", ".$hours.":".$minutes;
}
return $return;
}
}
?>
Kommentar