Showing results 1 to 4 of 4

Thread: UTC time conversion

  1. #1
    Join Date
    29.10.2018
    Posts
    1

    Default UTC time conversion

    HI,
    I have this problem:
    By a graphical interface, an operator enters a time of day at which he wants to turn on a device (Ex. 18:20)
    Using the zenon logic DTCURTIME function I get a DINT with the current time in UTC converted to ms.
    The operator is in Italy so when the pc marks 18:20, the function returns 16:20.
    How can I convert the time entered by the operator into UTC (from 18:20 to 16:20) or vice versa convert the current UTC time into Italian local time?

    Thanks


  2. #2
    Join Date
    22.04.2021
    Posts
    5

    Rotes Gesicht Re: UTC time conversion

    Hi,
    I have the same problem, did you solve this issue ? 

    Thank you in advance.

  3. #3
    Join Date
    18.02.2015
    Posts
    2

    Default Re: UTC time conversion

    Hi,

    You must to use the FB DTCURDATETIME, thee is a Boolean input, bLocal, to select the GMT(FALSE) o Local time(TRUE).

    BR,



  4. #4
    Join Date
    22.04.2021
    Posts
    5

    Default Re: UTC time conversion

    Quote Originally Posted by eugenio View Post

    Hi,

    You must to use the FB DTCURDATETIME, thee is a Boolean input, bLocal, to select the GMT(FALSE) o Local time(TRUE).

    BR,



    it's working, thank you  

Similar Threads

  1. zenon 3.52 conversion to 6.51
    By aHmp in forum zenon Service Engine Supervisor
    Replies: 0
    Last Post: 19th June 2020, 13:10
  2. Conversion from v7.0 to v7.2 problem
    By djosic in forum zenon Service Engine Supervisor
    Replies: 2
    Last Post: 5th August 2016, 14:04
  3. Metric / English Unit Conversion HMI
    By jkoehler in forum zenon Service Engine Supervisor
    Replies: 3
    Last Post: 14th July 2011, 16:52
  4. Conversion from 6.22 to 6.50
    By shikra in forum zenon Energy Edition
    Replies: 2
    Last Post: 4th April 2010, 07:58
  5. Project conversion 6.20 -->6.22
    By ionvalesareanu in forum zenon Service Engine Supervisor
    Replies: 1
    Last Post: 23rd June 2009, 08:04

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •