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.

UTC in VB2015

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 07:44 AM

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 08:06 AM

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.

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.

;