check daylight saving on PC

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

Guest

Hi, All,

My app picks ccurrent time on the PC to retrieve data from sql DB, the Sql
data is always data with non-daylight saving. The app runs on PC with both
daylight saving and non-daylight saving. So the question is how to check the
PC is daylight saving or not? can anyone know this piece code to handle this
problem?

Thanks in advance,
Martin
 
martin1 said:
So the question is how to check the PC is daylight saving or not?

\\\

If Today.IsDaylightSavingTime() Then
'It is daylight saving time
Else
'It isn't daylight saving time
End If
///

HTH,
 
Back
Top