Difference between revisions of "Time Zone"
From Hostek.com Wiki
m (Briana moved page ASP Timezone to Time Zone without leaving a redirect) |
|||
Line 1: | Line 1: | ||
− | == | + | Our servers are on Central Time Zone (timezone). |
+ | |||
+ | If you are in a different part of the country or world, you may want to adjust the time in your scripts. Below are a few example of how to do that. | ||
+ | |||
+ | __FORCETOC__ | ||
+ | |||
+ | ==ASP time change sample== | ||
Here is an ASP code example that subtracts 1 hour from the server time. | Here is an ASP code example that subtracts 1 hour from the server time. |
Revision as of 17:24, 22 November 2012
Our servers are on Central Time Zone (timezone).
If you are in a different part of the country or world, you may want to adjust the time in your scripts. Below are a few example of how to do that.
Contents
ASP time change sample
Here is an ASP code example that subtracts 1 hour from the server time.
The time is <%=FormatDateTime(DateAdd("h",-1,Now),3)%>.