title: Classic ASP - Server Time vs. Local Time
body: <p>I have a Classic ASP application that I am working with date cut offs.  My server resides in Central Time, but I am in Eastern time. What happens is my app thinks it is an hour earlier and my cut offs are an hour late.  I am sure they would be 2 hours early if a user was in Pacific time.</p>
  
  <p>What I am trying to figure out is if there is a way to either </p>
  
  <ol>
  <li>tell the server to show me local time when you do a GetDate() on SQL or Now() in ASP  </li>
  <li>figure out some way to do an offset that I can run when the page first loads and use as needed.</li>
  </ol>
  
  <p>I tried server side javascript, it returns Central Time too.  Any help would be greatly appreciated!!  Thanks in advance!</p>
  
  <p>Dennis</p>
  
  <hr>
  
  <p>UPDATE - 4/11/12 @ 1:12pm:</p>
  
  <hr>
  
  <p>I think that I found a work around for my application, but it would not work generically.  I have geographic data for the location I am working with - zip code.  I can grab the timezone from that - it would not fully work right for users in other timezones looking at the location, but it does not matter for my app since I just need to be focused on the end time for that location.</p>
  
  <p>This is the other other way(s) I found were provided by JohnB below (specifically #4).  thanks everyone.  <a href="http://www.webmasterworld.com/forum47/600.htm" rel="nofollow">http://www.webmasterworld.com/forum47/600.htm</a>  (bottom)</p>
  
  <hr>