TimeZone

hello,
how can i get the time in
.Hour
.Minute
.Second

at
Var zone1 As New TimeZone(“Asia/Bangkok”) ???

If you want the current time in another TimeZone, you can do this (2019r3):

Var tzBK As New TimeZone("Asia/Bangkok") MessageBox(DateTime.Now(tzBK).ToString)

[quote=470646:@Paul Lefebvre]If you want the current time in another TimeZone, you can do this (2019r3):

Var tzBK As New TimeZone("Asia/Bangkok") MessageBox(DateTime.Now(tzBK).ToString)[/quote]
thank you, so easy :slight_smile:

please add it to the example at TimeZone