0
Cómo puedo presentar la fecha de hoy con $date?
Fecha de hoy
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
0
Ok, thanks, but the day, the montes and year?
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