473,382 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Server and Client time zone different

Server time zone 1 hour different from Client time zone. .Net 1.1 c# Win
Forms app: actual date 9/25/04 displays 9/24/04 11:00 PM. When I change
client time zone to equal server time zone, date displays correctly.

Client in Pacific time zone, server in Mountain time zone.

Nov 16 '05 #1
4 6396
Hi,

And this is a problem how?
Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"brfin999" <br******@discussions.microsoft.com> wrote in message
news:24**********************************@microsof t.com...
Server time zone 1 hour different from Client time zone. .Net 1.1 c# Win
Forms app: actual date 9/25/04 displays 9/24/04 11:00 PM. When I change
client time zone to equal server time zone, date displays correctly.

Client in Pacific time zone, server in Mountain time zone.

Nov 16 '05 #2

The date stored in the daabase is: 9/25/04
Date displayed in the datagrid is : 9/24/04 11:00 PM.
This is a c# .net 1.1 Windows form.
"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,

And this is a problem how?
Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"brfin999" <br******@discussions.microsoft.com> wrote in message
news:24**********************************@microsof t.com...
Server time zone 1 hour different from Client time zone. .Net 1.1 c# Win
Forms app: actual date 9/25/04 displays 9/24/04 11:00 PM. When I change
client time zone to equal server time zone, date displays correctly.

Client in Pacific time zone, server in Mountain time zone.


Nov 16 '05 #3
Problem: Users enter a Shipping Scheduled date from a datetimepicker. If the
user (client) is in Colorado, date displays correctly. Client in Nevada, date
displays as 11PM of previous day.

The date stored in the daabase is: 9/25/04
Date displayed in the datagrid is : 9/24/04 11:00 PM.
This is a c# .net 1.1 Windows form.

"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,

And this is a problem how?
Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"brfin999" <br******@discussions.microsoft.com> wrote in message
news:24**********************************@microsof t.com...
Server time zone 1 hour different from Client time zone. .Net 1.1 c# Win
Forms app: actual date 9/25/04 displays 9/24/04 11:00 PM. When I change
client time zone to equal server time zone, date displays correctly.

Client in Pacific time zone, server in Mountain time zone.


Nov 16 '05 #4
Hi,

Are you transfering the date from the server back to the client?

Unless that you are displaying the date locally it should be ok
what about some code of when you assign the date or show it

"brfin999" <br******@discussions.microsoft.com> wrote in message
news:89**********************************@microsof t.com...
Problem: Users enter a Shipping Scheduled date from a datetimepicker. If the user (client) is in Colorado, date displays correctly. Client in Nevada, date displays as 11PM of previous day.

The date stored in the daabase is: 9/25/04
Date displayed in the datagrid is : 9/24/04 11:00 PM.
This is a c# .net 1.1 Windows form.

"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,

And this is a problem how?
Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"brfin999" <br******@discussions.microsoft.com> wrote in message
news:24**********************************@microsof t.com...
Server time zone 1 hour different from Client time zone. .Net 1.1 c# Win Forms app: actual date 9/25/04 displays 9/24/04 11:00 PM. When I change client time zone to equal server time zone, date displays correctly.

Client in Pacific time zone, server in Mountain time zone.


Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Steven | last post by:
I actually have two questions: 1. I try to get current time, but the time I got is 1 hour different from my local time. I assume it is caused by Time Zone. So is there any easy way to fix this?...
1
by: brian | last post by:
I have an intranet set up and when the user clicks a button I want the time on the server to appear in the text box. By reading through the post I found many that said...
14
by: Cesar Ronchese | last post by:
Hello! I've built a program that show some dates to users. I got a problem when users have different configured time zone machines, where: - One machine that determined time zone the date...
6
by: gerry | last post by:
I am almost at the end of my rope - I have to go through this process everytime a new version of studio is released or it is installed on a new machine - what a (^%&$^& pain. I am trying to...
2
by: =?Utf-8?B?R2ls?= | last post by:
I have a server (Win2k3 SBS) that is a domain controller and exchange server. I failed to apply the DST patches until after the DST kicked in. I have since completed successfully the patches and...
7
by: Steve | last post by:
Hi All I have a windows application written in VB.net 2005 The users have to select a State of Australia, which I use to check they have the correct windows time zone selected in control panel...
7
by: Correia | last post by:
I have a webserver that is in another country and have a different time zone. How can i fix this and use the scripts with the correct time zone? Thanks
0
amitpatel66
by: amitpatel66 | last post by:
Hi All, Find below some useful information about Time Zone Conversion in oracle. Hope this would be helpful for many of them since all the real time projects that we work in follow different time...
4
by: reach2raziq | last post by:
Hi All, I have one web site and server that is hosted on "Pacific Standard Time" Zone . When a user from different contries creat blogs the displayed time for respective blog will be a server...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.