title: Simplest method to determine if the current time is AM or PM?
body: <p>What is the best method to determine if the current time is AM or PM using VB.NET?</p>
  
  <p>Currently I'm using If Date.Today.ToString.Contains("AM") but I'm sure there is a better method.</p>
  
  <pre><code>Good &lt;%If Date.Today.ToString.Contains("AM") Then Response.Write("Morning") Else Response.Write("Afternoon")%&gt;
  </code></pre>