“Strtotime -Format” Code-Antworten

PHP -Datum Strtotime -Format

$date = '25/05/2010';
$date = str_replace('/', '-', $date);
echo date('Y-m-d', strtotime($date));
Upset Unicorn

Strtotime -Format

$date = '25/05/2010';
$date = str_replace('/', '-', $date);
echo date('Y-m-d', strtotime($date));
Annoying Alligator

Ähnliche Antworten wie “Strtotime -Format”

Fragen ähnlich wie “Strtotime -Format”

Weitere verwandte Antworten zu “Strtotime -Format” auf PHP

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen