salve,
come faccio ad aggiungere un minuto ad un'orario ?
$ore = date("H:i:s"); + 1 minuto
grazie !
salve,
come faccio ad aggiungere un minuto ad un'orario ?
$ore = date("H:i:s"); + 1 minuto
grazie !
[Scambio Links a Tema] Contattatemi in Privato x + Info.
Ti suggerisco di iniziare leggendo il manuale ufficiale:
http://www.php.net/date (Example #3 date() and mktime() example)
gia' e cmq la funzione date lavora con le timestamp per cui puoi fare
Codice PHP:
$now = time();
$now_plus_one_minute = $now+60;
echo "adesso : ".$date("H:i:s" , $now)."
Adesso +1 minuto : ".$date("H:i:s" , $now_plus_one_minute );
grazie !![]()
[Scambio Links a Tema] Contattatemi in Privato x + Info.