Server and Client time zone different

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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.
 
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.
 
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
 
Back
Top