Does anybody have a simple code for showing week nr, date and time taken from the webserver?
And then another code that gets the time from the local computer?
I’m looking for a JS or PHP code
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On server side you can use (
PHP)JS implementation is not so trivial. There is no built-in function, but here is an example of what is done.
UPD: Today, momentjs is capable of many things regarding dates in JS.