Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7796193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:17:51+00:00 2026-06-01T23:17:51+00:00

When using TimeZoneInfo.Local.Id on MonoTouch, I get CET (for Central European Time). On ASP.NET,

  • 0

When using TimeZoneInfo.Local.Id on MonoTouch, I get CET (for Central European Time). On ASP.NET, I get Central Europe Standard Time.

I need to transfer the time zone from the iOS device (MonoTouch) to my ASP.NET web service. It is not sufficient to just transfer the time zone difference (UTC +1), since this does not respect the country-specific Daylight Saving Time settings.

What’s the best way to get the iPhone’s time zone to my web service?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T23:17:53+00:00Added an answer on June 1, 2026 at 11:17 pm

    There’s more than one data source for time zones inside MonoTouch.

    One comes from the .NET base class library (BCL), System.TimeZoneInfo and it’s meant to be compatible (it’s structure, not the data) with Microsoft .NET implementation. It has two disadvantages.

    • it’s not 100% compatible with MS data (different data source were used);

    • it cannot be updated without re-building your application with an updated MonoTouch;

    The other one is MonoTouch.Foundation.NSTimeZone which are bindings to iOS API. The API is a bit different but the data it returns match what other iOS applications will uses and it will be updated (with iOS updates).

    What’s the best way to get the iPhone’s time zone to my web service?

    IMO MonoTouch.Foundation.NSTimeZone is better suited for the reasons above.

    It is not sufficient to just transfer the time zone difference (UTC +1), since this does not respect the country-specific Daylight Saving Time settings.

    As for your offset to UTC you can get the daylight specific offset (in seconds) with:

    var dlo = NSTimeZone.LocalTimeZone.DaylightSavingTimeOffset (NSDate.Now);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking for a method which can fetch available time zones. Using .net
I have an ASP.NET web application that requires users to select their appropriate time
I am working on a multi time zone application (.NET 3.5). We are using
Using ASP.NET MVC there are situations (such as form submission) that may require a
I'm using the .net TimeZoneInfo FindSystemTimeZoneById method which I understand queries the registry. Are
Why would the TimeZoneInfo class in .NET show that Indiana observes daylight savings time?
Using CI for the first time and i'm smashing my head with this seemingly
Using the Redis info command, I am able to get all the stats of
Using Location.getBearing(); I seem to get randomly changing bearings. Aka, I can turn the
Using import datetime in python, is it possible to take a formatted time/date string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.