Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Synchronizing Real-Time Clock (RTC) with Local Time:

Synchronizing Real-Time Clock (RTC) with Local Time:

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 2 Posters 590 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sachin Gaikwad
    wrote on last edited by
    #1

    How can one effectively update or synchronize the Real-Time Clock (RTC) to the local time of a system, particularly when the system was previously configured with UTC? Despite attempting to use 'timedatectl --localtime,' what alternative approaches or solutions might be explored to accomplish this task?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      hwclock might be what you are looking for.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        hwclock might be what you are looking for.

        S Offline
        S Offline
        Sachin Gaikwad
        wrote on last edited by
        #3

        @SGaist Yes but when we use hwclock command the RTC set for system time . I need to set for local time . means first check with local time zone and then set .

        SGaistS 1 Reply Last reply
        0
        • S Sachin Gaikwad

          @SGaist Yes but when we use hwclock command the RTC set for system time . I need to set for local time . means first check with local time zone and then set .

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Sachin-Gaikwad how are you using it ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved