check daylight saving on PC


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
 
Ad

Advertisements

O

Oenone

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,
 
Ad

Advertisements

G

Guest

Thank you so much,

Martin

Oenone said:
\\\

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

HTH,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top