.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> VB.Net >> Post New QuestionBookmark and Share Subscribe to Forum

How To Find the Current Time of Other Country.

Posted By: Santosh     Posted Date: October 07, 2009    Points:2   Category :VB.Net
hi
can anybody please tell how to find the current time of some other country.
Ex:
now i am in india,to find out the current time is
Date.now()
but from here i want to find out the current time of USA.
what is the code for this in .NET.
plz help

with regards
santosh

Responses
Author: Venkat             
Posted Date: October 07, 2009     Points: 5   

You can use Third party webservices to get the time based on country and these webservices are free also..

http://www.earthtools.org/webservices.htm

http://worldtimeengine.com/api/geo

Mark As Answer if this solve your problem
Warm Regards,
Venkat
Author: Santosh             
Posted Date: October 07, 2009     Points: 5   

hi
Vankat i want to Implement in Windows application.
there is no any other method to find out this time.

Author: Venkat             
Posted Date: October 07, 2009     Points: 5   

Hi Santhosh,

You can use web services in windows application.

If you want to make you own it will be little tough.

You have to make use of TimeZone, TimeZoneinfo and knowledge of UTC time and more..

If you want you can start witing your own. But i will suggest to go for Web services..

Regards
Venkat

Mark As Answer if this solve your problem
Warm Regards,
Venkat


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend