check daylight saving on PC

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?bWFydGluMQ==?=

    #1

    check daylight saving on PC

    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
  • Oenone

    #2
    Re: check daylight saving on PC

    martin1 wrote:
    So the question is how to check the PC is daylight saving or not?
    \\\

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

    HTH,

    --

    (O)enone



    Comment

    • =?Utf-8?B?bWFydGluMQ==?=

      #3
      Re: check daylight saving on PC

      Thank you so much,

      Martin

      "Oenone" wrote:
      martin1 wrote:
      So the question is how to check the PC is daylight saving or not?
      >
      \\\
      >
      If Today.IsDayligh tSavingTime() Then
      'It is daylight saving time
      Else
      'It isn't daylight saving time
      End If
      ///
      >
      HTH,
      >
      --
      >
      (O)enone
      >
      >
      >
      >

      Comment

      Working...