By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,312 Members | 1,877 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,312 IT Pros & Developers. It's quick & easy.

Convert local time(eg EST) on local machine to GMT

P: n/a
How to Convert local time(eg EST) on local machine to GMT. I am using VB.Net
2005.

Then I need to subtract 1 minute(or 1-100) minute selected by the user in
the combobox and pass it as start time to the query.

I thanku all in advance.
Mar 10 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"XML newbie: Urgent pls help!"
<XM********************@discussions.microsoft.co m> schrieb
How to Convert local time(eg EST) on local machine to GMT. I am
using VB.Net 2005.

Then I need to subtract 1 minute(or 1-100) minute selected by the
user in the combobox and pass it as start time to the query.

I thanku all in advance.

dim dt as datetime

dt = datetime.now.touniversaltime.addminutes(-1)

Local time 03:00 pm (-06:00) will result in 08:59 pm

Armin

Mar 10 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.