locked
(Get-Date).ToUniversalTime() functions incorrectly durring daylight savings time change RRS feed

  • General discussion

  • I believe I have identified a Bug in the automation function "(Get-Date).ToUniversalTime()".  I have a job schedule to run ever hour.  During the last daylight savings time change the value retrieved by the function jumped from 11/06/2016 05:00 to 11/06/2016 07:00.  This should never occur since UTC should not observe daylight savings and should never change like this
    Wednesday, November 16, 2016 4:17 PM

All replies

  • Could you please do  get-command get-date and share the details ?

    I think the get-date is from Microsoft.PowerShell.Utility module.

    Friday, November 18, 2016 2:57 AM