Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 12th, 2011, 09:36 PM
Registered User
 
Join Date: Sep 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default hot to get the server date not local system date

How to get the server date not the local system date in javascript

Language: javascript, jsp

Code:
    function myFunction(){
        var today_Date = new Date();
        alert('Today is:'+today_Date);
    }
output alert always showing the local system date...how to get the serverDate ? i am using the javascript in my jsp page.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Local Date and Time to UTC? dbayona SQL Server 2005 3 July 24th, 2007 10:12 PM
Insert System date and System Time -Form _TextBox cnkumar74 VB How-To 14 February 14th, 2007 10:52 AM
System Date adyaky SQL Server 2000 2 January 6th, 2006 06:46 PM
Date Format - Local x Server fskilnik Classic ASP Basics 0 November 2nd, 2005 07:34 AM
insert system date. no date and time jimmy Access VBA 6 November 20th, 2003 01:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.