0
Good morning guys, how do I show the seconds running in the function below? can be some function in jQuery to animate php.
date_default_timezone_set('America/sao_paulo');
//CRIA UMA VARIAVEL E ARMAZENA A HORA ATUAL DO FUSO-HORÀRIO DEFINIDO (BRASÍLIA)
$Asuncion = date('H:i:s', time());
Thanks Roberto for the contribution but in this case the system takes the time of the server or the client? and how do I change the time zone? example: take NY time?
– Xiro Nakamura
In this case, it’s customer time. To catch the time from another place I believe I would have to return getTime from the current time and make a sum or subtraction depending on which location you need. Usually use momentjs to work with date
– Roberto Giffone