We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

UTC in VB2015

I am trying to have a control show me the current time in UTC/GMT Time.

I establish my variable and then populate it using either DateTime.UtcNow or My.Computer.Clock.GmtTime.

I then try to pass the variable value to the control.CustomTime. When using UtcNow, I get a counter increasing from 0 and with GmtTime I get a 10 hour offset. My UTC offset is -5. I am new to programming and trying to learn so what am I doing wrong. Any help is appreciated.

2 Replies

SD Suchinder Dhillon March 17, 2016 11:44 AM UTC

Never mind. I figured out what I was doing wrong and this control works great now. Thanks SF. :)

KR Kannan R Syncfusion Team March 17, 2016 12:06 PM UTC

Hi Suchinder,


Thank you for using Syncfusion products.


We are glad, that you have found solution for this requirement. Please let us know if you have any further assistance.




Live Chat Icon For mobile
Up arrow icon