// 2- loading the server's date from the php function, // calling the javascript function to show it. // 3- scheduling another load to the next second // // Disclaimer: Hey! I dont speak english // Under (put your choice here) license function show_now() { //return server date return date("l dS of F Y h:i:s A"); } //starting SAJAX stuff $sajax_request_type = "GET"; sajax_init(); sajax_export("show_now"); sajax_handle_client_request(); ?> Show Server's Date Server date:
(loading...)