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

  • Home
  • SEARCH
  • 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 3232120
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:07:27+00:00 2026-05-17T17:07:27+00:00

This is more of a question about best pattern and practice than asking about

  • 0

This is more of a question about best pattern and practice than asking about any one particular method. We have app that is heavily reliant on dates and times and is hosted in the US. Sometimes it needs to perform actions based on those values, like emailing out reminders and expiring “single-use” session tokens.

However there are clients around the globe that need to access this app and have the dates and times display relative to their local time.

Clearly the solution should be to store the dates on the server side in a single time zone (UTC?) and then convert them back and forth from the local time settings of the user.

We are using silverlight 4 on the client and the ria services 1.0 stack over linq2sql on the server side. I am hoping someone knows if there is a way to automate this localization of date and time as much as possible and if so, what is the pattern to use for this.

Ideally we don’t want to have to do a DateTime.ToLocalTime() every time we need to use a date. This has to be a common situation.

Is there a way to automatically shift dates and times into the client’s local time zone on SL4?

  • 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-05-17T17:07:27+00:00Added an answer on May 17, 2026 at 5:07 pm

    One thing that occurs to me as a way to solve the problem is to use a ValueConverter, but you’re right, there’s probably a better way (since this would require adding that logic to every place it displays in your application.

    I’d be kinda nice if there were some option on the client-side proxy RIA services generates that’d let you turn something like that on.

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

Sidebar

Related Questions

Colleagues, Preamble. My question is more about best practices. I know one workaround. This
EDIT: This question is more about language engineering than C++ itself. I used C++
More than about LINQ to [insert your favorite provider here], this question is about
This is more of an academic inquiry than a practical question. Are there any
This is more of a computer science question than a programming one, but I
A quick question about best practice with PHP classes. I have seen people use
I know there is already a question about this but my issue is more
This is more an observation than a real question: MS-Access (and VBA in general)
Ok this is more of a computer science question, than a question based on
Here is one more newbie question: require 'tasks/rails' I saw this line in Rakefile

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.