|
-
January 31st, 2006, 03:08 AM
#1
World time in .net
Hi all,
i want to make world time using asp.net and c#.
Last edited by jitendracode2006; January 31st, 2006 at 03:11 AM.
Reason: clear question
Code2006
-
January 31st, 2006, 04:26 AM
#2
Re: World time in .net
Hi,
If you mean UTC by world time, you can use ToUniversalTime Method of DateTime struct to convert a DateTiem to UTC DateTime.
See http://msdn.microsoft.com/library/de...ltimetopic.asp
Regards
Kish.
-
January 31st, 2006, 05:10 AM
#3
Re: World time in .net
thnks kish,
i want to make time zone utility which u can see in :Codeguru editoption menu.
Code2006
-
January 31st, 2006, 05:35 AM
#4
Re: World time in .net
The Framework can give you information about the time zone you are in through the TimeZone.CurrentTimeZone property, but it cannot give you a list of all time zones as far as I'm aware. You'd have to supply that information yourself. There are probably Web services available that could provide the information.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|