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

Global Time Setting

P: n/a
Hi,

I like to know can i display time of other countries when my server doesnot
belong to that server.
E.g. i want to display time of US when my Server is in UK.

Is there any setting we can do at application level.

Kindly let me know.
Urgent.

Thanks
Arvind.
Nov 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Hi Arvin,

Setting the time to US time is very difficult (because there are more US
times), here a link how to do what you want and some information about
globalization.

http://msdn.microsoft.com/library/de...ffsettopic.asp
I hope this helps?

Cor

\\\set culture
Dim myCIintl As New System.Globalization.CultureInfo("nl-NL")
Application.CurrentCulture = myCIintl
'or
Thread.CurrentThread.CurrentCulture = New CultureInfo("en-US")
///

\\\time in other format
Me.Text = Now.ToString("D", New System.Globalization.CultureInfo("es-ES"))
I hope this helps a little bit?

\\\Info
Dim Info As System.Globalization.DateTimeFormatInfo
Info = System.Globalization.CultureInfo.CurrentUICulture. DateTimeFormat
MsgBox(Info.DateSeparator)

I hope this helps a little bit?

Cor
Nov 20 '05 #2

P: n/a
If you are interested only in the formatting of the time, then look at the Globalization namespace and CurrentCulture property of the thread. If you are interested in Time Conversion, then use the artilce Cor pointed to and then you will need to convert to the target timezone via code.

Rgds,
Anand
VB.NET MVP
http://www.dotnetindia.com

"Arvind P Rangan" wrote:
Hi,

I like to know can i display time of other countries when my server doesnot
belong to that server.
E.g. i want to display time of US when my Server is in UK.

Is there any setting we can do at application level.

Kindly let me know.
Urgent.

Thanks
Arvind.

Nov 20 '05 #3

P: n/a
How do you get the actual star next to your name when you're an MVP?
Is it via some certificate authority?

If not, how can anyone get one.
It's alright for actual MVPs if they are told how to do it but what about people who want a star that aren't actually an MVP?

"Anand[MVP]" wrote:
If you are interested only in the formatting of the time, then look at the Globalization namespace and CurrentCulture property of the thread. If you are interested in Time Conversion, then use the artilce Cor pointed to and then you will need to convert to the target timezone via code.

Rgds,
Anand
VB.NET MVP
http://www.dotnetindia.com

"Arvind P Rangan" wrote:
Hi,

I like to know can i display time of other countries when my server doesnot
belong to that server.
E.g. i want to display time of US when my Server is in UK.

Is there any setting we can do at application level.

Kindly let me know.
Urgent.

Thanks
Arvind.

Nov 20 '05 #4

P: n/a
* "=?Utf-8?B?QmVlZWVlZWVlZWVlZXZlcw==?=" <Be**************@discussions.microsoft.com> scripsit:
How do you get the actual star next to your name when you're an MVP?
Is it via some certificate authority?


<URL:http://mvp.support.microsoft.com/>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #5

P: n/a
Well it shows up if you are an MVP. I am not sure if you can put any other symbol in there though...

Rgds,
Anand
VB.NET MVP
http://www.dotnetindia.com

"Beeeeeeeeeeeeves" wrote:
How do you get the actual star next to your name when you're an MVP?
Is it via some certificate authority?

If not, how can anyone get one.
It's alright for actual MVPs if they are told how to do it but what about people who want a star that aren't actually an MVP?

"Anand[MVP]" wrote:
If you are interested only in the formatting of the time, then look at the Globalization namespace and CurrentCulture property of the thread. If you are interested in Time Conversion, then use the artilce Cor pointed to and then you will need to convert to the target timezone via code.

Rgds,
Anand
VB.NET MVP
http://www.dotnetindia.com

"Arvind P Rangan" wrote:
Hi,

I like to know can i display time of other countries when my server doesnot
belong to that server.
E.g. i want to display time of US when my Server is in UK.

Is there any setting we can do at application level.

Kindly let me know.
Urgent.

Thanks
Arvind.

Nov 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.