Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datetime.now.date returns wrong date
Message
 
 
À
22/03/2014 21:01:38
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01597132
Message ID:
01597133
Vues:
43
>This app has been running for several years on Win 7 machines with no problems.
>On a new Win 8 machine DateTime.Now.Date returns 2014-03-21:23:00 when it should return 2014-03-22.
>The time on the machine is OK and the time zone is correct.
>It consistently places the date one hour before midnight on the prior day.
>Code works fine on other Win 8 machines.
>Any suggestions?

Can you have another application (say, VFP) to also write the date value? It is possible that the actual date is being changed by some process and then changed back?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform