UTC date and time

Forum Home Forums Understanding the Software UTC date and time

Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #16853
    oley
    Participant

    Hi,

    I’ve created calculated channel as mentioned in the topic https://forum.rapidscada.org/?topic=how-to-show-current-date-and-time-on-scheme-or-dashboard

    If I use the DateTime.UtcNow.ToOADate() formula I become local time in the view.
    If I use the DateTime.Now.ToOADate() formula I become local time + 2 in the view.

    The time seems to be converted from UTC to local time, so in order to become UTC in the view, I would have to convert it additionally.

    Best regards

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.