LocalToUtcDateTime
Qubes 9.0 UTC datetime for the specified datetime in the current workstation timezone.
Syntax
LocalToUtcDateTime(dateTime)
dateTime = optional date/time in current workstation timezone
Remarks
Returns the datetime in UTC corresponding to dateTime.
The dateTime parameter is the date in the current workstation timezone.
If the dateTime parameter is not passed, the current date/time on current workstation is used.
Alternatively, the dateTime parameter can also be defined in UnixTime.
Example
If there is a XForms with a date selector in B2 and a time selector in C2, where the user selects a datetime in his timezone.
If we need the corresponding datetime in UTC timezone, we can use : LocalToUtcDateTime(B2+C2)