title: Displaying optional feature in Azure Cloud Service website based on datetime
body: <p>I would like to deploy a change to my Azure cloud service website, that will put a small feature live from 9am on Tuesday 2nd April.</p>
  
  <p>The cloud service is hosted in West Europe.</p>
  
  <p>So I started with just a small line of code around the feature:</p>
  
  <p><em>MVC Razor code:</em></p>
  
  <pre><code> @if (DateTime.Now &gt;= new DateTime(2014, 4, 1, 9, 00, 0))
  </code></pre>
  
  <p>Meaning if it is after 1st April at 9:00am, show the feature.</p>
  
  <p>This works fine in my dev environment messing around with todays date and the current time.</p>
  
  <p>What I am not sure about is if this will work in my Azure hosted service, AND take into account the summertime change.</p>
  
  <p>I am aware of UTC and the timezone classes but not sure how to construct this.</p>