0

Cómo puedo presentar la fecha de hoy con $date?

Fecha de hoy

17th Feb 2020, 10:11 AM
ppliman
3 odpowiedzi
0
use date function $date = date('H:i:s') it'll return the local time. H means hour in (0-23) i means minutes (0-59) s means seconds (0-59) see more here https://www.php.net/manual/en/function.date.php
17th Feb 2020, 11:30 AM
Taste
Taste - avatar
0
Ok, thanks, but the day, the montes and year?
17th Feb 2020, 3:23 PM
ppliman
0
you can see it in the link i provided, i cant cover them all here because there's a lot. just scroll down a littlebit, you'll see them in the table
17th Feb 2020, 3:41 PM
Taste
Taste - avatar