title: Web API: Converting all dates returned to a specific timezone?
body: <p>I am using .Net Web API, and am returning datetimes in various models. These dates are coming from the database and are in UTC format.</p>
  
  <p>I want all of these dates to be converted to a specific user's timezone (ie EST, CST, etc) before it gets serialized to JSON and returned back to the user. I don't want to manually convert each and every date everytime it's retrieved from the database (it doesn't seem like DRY code). It also seems wrong to do the conversion in the database level as well.</p>
  
  <p>Is there an easy way to apply some sort of filter that will automatically convert all dates returned to a specific timezone? For instance, something like the following:</p>
  
  <pre><code>[DateTime: EST Format]
  class Event
     DateTime eventTime
  </code></pre>
  
  <p>If there's no easy way, how do you suggest I handle this scenario? Do the conversion in the UI layer? (what if there's a lot of dates displayed at once, we'll need to iterate through all of them and conver it)</p>