Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QML- Datetime conversion to different timezones
Forum Updated to NodeBB v4.3 + New Features

QML- Datetime conversion to different timezones

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 198 Views
  • 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
    Sumit_Banik
    wrote on last edited by
    #1

    Hello,
    We need to convert current datetime values in different timezones. We need to perform this function in qml.
    The available functionality in qml is
    toLocaleString("en-US", {timeZone: "America/New_York"})
    This is actually a javascript function. This is not converting the date and time when we feed the timezone value.

    Kindly, let us know what are the alternatives to achieve datetime conversion in different timezones.

    1 Reply Last reply
    1

    • Login

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