QML- Datetime conversion to different timezones
Unsolved
General and Desktop
-
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.