“Format strtotime” Kod odpowiedzi

Format Strotime Data PHP

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

Format strtotime

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

Odpowiedzi podobne do “Format strtotime”

Pytania podobne do “Format strtotime”

Więcej pokrewnych odpowiedzi na “Format strtotime” w PHP

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu