Dim DifFuso As Double, DifFusoX As Date
Dim DifFusoINI As Double, DifFusoINIx As Date
DifFuso = HrDbl("9:00")
DifFusoX = HrStr(DifFuso)
DifFusoINI = HrDbl(Format([txtTimeGMT], "hh:mm"))
DifFusoINIx = HrStr(DifFusoINI)
DifFusoINIx = FormatInterval(DifFusoINIx, "H:MM")
DifFusoX = FormatInterval(DifFusoX, "H:MM")
Dim X As String
Dim Y As String
Dim StrResult As String
X = Left(DifFusoINIx, 5)
Y = Left(DifFusoX, 5)
X = HrDbl(X)
Y = HrDbl(Y)
StrResult = (X - Y)
If Left(StrResult, 1) = "-" Then
StrResult = HrStr(24 + (X - Y))
Me.txtTimeZone = Date - 1 & " " & StrResult
Else:
StrResult = HrStr(X - Y)
Me.txtTimeZone = Date & " " & StrResult
Me.txtDifFusoGMT = "UTC -09:00"
Me.txtLocal = "Alaska"
End If