Go4Expert

Go4Expert (http://www.go4expert.com/)
-   ASP (http://www.go4expert.com/forums/asp/)
-   -   the web application take Date formate different thanserver date format. (http://www.go4expert.com/forums/web-application-date-formate-thanserver-t8073/)

ali80_dh 2Jan2008 11:44

the web application take Date formate different thanserver date format.
 
i use an ASP web application made using ASP ,the problem is that the web page take the date&time format of user workstation not the server format, so i want to make all user take the server date&time format.

ali80_dh 2Jan2008 11:45

Re: the web application take Date formate different thanserver date format.
 
Plzzzzz help me

shabbir 2Jan2008 17:14

Re: the web application take Date formate different thanserver date format.
 
Moved to ASP forum for better responses.

urstop 8Jan2008 18:20

Re: the web application take Date formate different thanserver date format.
 
Could you paste the piece of code. From what it looks, you are using client side javascript to display the data and since this is being executed on the client side, it will use the client date/time and settings.

You will have to get the date on the server side and assign it to a client side variable and then use it.

ali80_dh 17Jan2008 17:52

Re: the web application take Date formate different thanserver date format.
 
now the database stores date formate in wrong way.instead of stores date format in one formate.
ex.if i creat ticket on server the the open date stored as server date format,when this ticket opened on user workstation with differant date format,and add action ,the action date will stored in database in user workstation format.


All times are GMT +5.5. The time now is 11:56.