using the javascript how can I get web server time and date? :eek:

Recommended Answers

All 4 Replies

You can't get the WEB SERVER date/time with JavaScript, since JavaScript is client-side. However, you can use JavaScript's date() method(s) to get the Web Browser/client date.

Your correct I changed my webpage date and time using javascript.Thank you very much. :lol:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.