473,387 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Global Time Setting

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 18 '05 #1
5 1382
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 18 '05 #2
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 18 '05 #3
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 18 '05 #4
* "=?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 18 '05 #5
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 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Amit D.Shinde | last post by:
Hello Experts.. I need some help regarding cookies and session objects and also global.asa file I am creating one cookie when a user logs in on my website. The cookie stores the login name of...
6
by: Bob Darlington | last post by:
I have an Access XP app running over TS with Windows 2000 Server. There are 5 sites (each with 3 or 4 users) accessing the data file, and each has its own front end mde on the server. The mde's...
9
by: Rob Meade | last post by:
Hi all, I put a small site together recently using asp.net - having attended a MS ..Net course a little while back we were told that the first time a .net application is run it'll take a little...
22
by: fd123456 | last post by:
Hi Tom ! Sorry about the messy quoting, Google is playing tricks on me at the moment. > Global.asax is where you normally have the Global Application > and Session variables and code to...
3
by: Stephen Kay | last post by:
Sorry fi this is a stupid question - I come from a c/c++ background, and the global variables in php aren't making sense to me. If I want to declare a global variable, say in a global.php file,...
4
by: kuhrty | last post by:
I am using a window form and trying to get a dataset used in the form globally but I am having an issue setting the property and setting it locally to the class. When I try to call the dataset...
9
by: CDMAPoster | last post by:
About a year ago there was a thread about the use of global variables in A97: http://groups.google.com/group/comp.databases.ms-access/browse_frm/thread/fedc837a5aeb6157 Best Practices by Kang...
23
by: David Colliver | last post by:
Hi, using c#, 1.1 I know that we are not supposed to use global variables etc. in c# I am having a problem, but not sure how to resolve. I did have another post here, but may have over...
8
by: Victor | last post by:
Can I get the events in GLOBAL.ASAX to fire if a classic ASP page is being accessed by the user?
20
by: teddysnips | last post by:
Weird. I have taken over responsibility for a legacy application, Access 2k3, split FE/BE. The client has reported a problem and I'm investigating. I didn't write the application. The...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.