I'm trying to get the date from the server, I know to get the server date with php, but will it be possible with JQuery?
I'm trying to get the date from the server, I know to get the server date with php, but will it be possible with JQuery?
Only with Jquery can not get the server date. Since Jquery is a javascript framework where it is only executed in the user's browser.
It is possible to put this code in javascript on the page:
var variavelDataJquery = "<?=date('d/m/Y H:i:s');?>";