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 70293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:42:29+00:00 2026-05-10T19:42:29+00:00

A few months ago I was introduced to the new DateTimeOffset type and was

  • 0

A few months ago I was introduced to the new DateTimeOffset type and was glad DateTime‘s flaws with regard to time zones were finally taken care of.

However, I was left wondering if there were any overhead or problems that could occur from using this new type.

I work on a multi-locale web application. Does anyone know of anything that could sway me from just using it for all my date/time work? Is there a window for abuse here?

Reference: DateTimeOffset: A New DateTime Structure in .NET 3.5 by Justin Van Patten

  • 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. 2026-05-10T19:42:30+00:00Added an answer on May 10, 2026 at 7:42 pm

    Sometimes you really just want to represent a ‘local’ (timezone unaware) date and time rather than an instant in time. To be honest it’s more often useful to represent just a time – e.g. ‘wake me up at 8am, regardless of timezone’ – but date and time could be useful too.

    I agree that for the vast majority of cases, DateTimeOffset is a better fit. It does strike me as odd that there isn’t a DateTimeTimeZone struct which has both the instant and its timezone though… an offset doesn’t actually give you all the information you need. (For instance, given a DateTimeOffset, you don’t know what the time will be 24 hours later, because you don’t know when DST might kick in.)

    If you want that kind of structure, I have a very crude implementation in another answer. I’m sure it could be improved very easily 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I started RoR development a few months ago, and being new to Mac... Time
I am new to Android development since my EVO purchase a few months ago.
I started on a new project a few months ago and am forced to
Few months ago, I have came across a Silverlight tutorial of Eric Cartman (South
A few months ago I read about a technique so that if there parameters
A few months ago our vendor added a capability to our ticketing system which
A few months ago I saw a pie chart of a study showing the
From few months ago when i was using twitter, i was able to send
A few months ago Oracle queries stopped working on our reporting services server after
A few months ago I had to write a small tool to program the

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.