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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

UTC in VB2015

Thread ID:

Created:

Updated:

Platform:

Replies:

123433 Mar 17,2016 03:16 AM UTC Mar 17,2016 12:06 PM UTC Windows Forms 2
loading
Tags: Clock
Suchinder Dhillon
Asked On March 17, 2016 03:16 AM UTC

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.


Suchinder Dhillon
Replied On 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. :)

Kannan R [Syncfusion]
Replied On 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.

 

Regards

Kannan


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;