Find Jobs
Hire Freelancers

C# TimeZoneConverter Method

$30-250 USD

In Progress
Posted about 15 years ago

$30-250 USD

Paid on delivery
I need a C# Timezone [login to view URL] that will accept a Date, Current TimeZone and Actual Time, it will return a string. Make sure you treat the IsDaylight feature (the tricky part) Please USE C# 3.5 because it supports the feature, pls test well before you deliver. I will check it My budget is $40.00 for this string g = TimeZoneConverter("15 Mar 2009 03:56:20", "GMT Standard Time", "US Mountain Standard Time"); using [login to view URL]; using [login to view URL]; using [login to view URL]; public string TimeZoneConverter(string myDate, string FromTimeZoneID, string ToTimeZoneID) { //DaylightTime changes = [login to view URL](??); //[login to view URL]; //[login to view URL]; //bool IsDaylightSavingTime = [login to view URL](newTime) TimeZone zone = [login to view URL]; string StandardName = [login to view URL]; CultureInfo myCulture = new CultureInfo("en-GB"); DateTime st = [login to view URL](myDate,[login to view URL]); int Year = [login to view URL]; int Month = [login to view URL]; int Day = [login to view URL]; int Hour = [login to view URL]; int Minutes = [login to view URL]; int Seconds = [login to view URL]; DateTime oldTime = new DateTime(Year,Month,Day,Hour,Minutes,Seconds); TimeZoneInfo timeZone1 = [login to view URL](FromTimeZoneID); TimeZoneInfo timeZone2 = [login to view URL](ToTimeZoneID); DateTime newTime = [login to view URL](oldTime, timeZone1, timeZone2); return [login to view URL](); }
Project ID: 402101

About the project

13 proposals
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED KINGDOM
London, United Kingdom
5.0
25
Payment method verified
Member since Jul 11, 2004

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.