Re: Dates and time zones
- From: "Armin Zingler" <az.nospam@xxxxxxxxxx>
- Date: Mon, 12 Dec 2005 14:34:19 +0100
"Cesar Ronchese" <ronchese_hotmail_dot_com> schrieb
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 displayed is 01/01/2006. - In other different machine (and other configured time zone), the date displayed is 12/31/2006 19:00:00
If I redefine the time zones of these two machines to the same, the date works fine.
I think this: if the date is registered as 01/01/2006, it should be showed as 01/01/2006, independent of fix it in CultureInfo class. Or I'm wrong?
Why does this happen and how to resolve it?
Which version of VB do you use? 2003 or 2005? I ask because DateTime now has
a property 'Kind'. Apart from this: Where do you get the DateTime from? Where do you store it (type of variable)? How do you display it? What is the value in the variable?
Armin
.
- Follow-Ups:
- Re: Dates and time zones
- From: Cesar Ronchese
- Re: Dates and time zones
- References:
- Dates and time zones
- From: Cesar Ronchese
- Dates and time zones
- Prev by Date: Re: Windows Service for Reminder/Alarm
- Next by Date: Re: Capture and redirect TCP traffic
- Previous by thread: Dates and time zones
- Next by thread: Re: Dates and time zones
- Index(es):
Loading