![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
This command seem to insert Easetern time and I am on the West Coast. What do I need to do to compensate for the 3 hours? |
|
Extending Knowledge Daily http://www.CommunityMX.com/ |
#3
| |||
| |||
|
|
This command seem to insert Easetern time and I am on the West Coast. What do I need to do to compensate for the 3 hours? Thank you |
#4
| |||
| |||
|
|
Your server must be on the East Coast. To get your time you need to do something like like % ServTime = Time() WCTime = dateAdd("h",3,ServTime) % %=WCTime% |
|
Extending Knowledge Daily http://www.CommunityMX.com/ |
#5
| |||
| |||
|
|
Paul Whitham TMM wrote: Your server must be on the East Coast. To get your time you need to do something like like % ServTime = Time() WCTime = dateAdd("h",3,ServTime) % %=WCTime% Paul, Wouldn't that place the time 3 hours ahead of what it is already, rather than 3 hours behind? |

#6
| |||
| |||
|
|
% Dim ServTime, WCTime ServTime = Time() WCTime = dateAdd("h",-3,ServTime) % %=WCTime% |
|
Extending Knowledge Daily http://www.CommunityMX.com/ |
#7
| |||
| |||
|
|
Kindler Chase wrote: % Dim ServTime, WCTime ServTime = Time() WCTime = dateAdd("h",-3,ServTime) % %=WCTime% Kindler, How would one go about getting the client's time from wthin ASP? I was going to suggest a client side javaScript. |

#8
| |||
| |||
|
|
I was going to suggest a client side javaScript. |
#9
| |||
| |||
|
|
Kindler Chase wrote: % Dim ServTime, WCTime ServTime = Time() WCTime = dateAdd("h",-3,ServTime) % %=WCTime% Kindler, How would one go about getting the client's time from wthin ASP? I was going to suggest a client side javaScript. -- Enjoy, Danilo Celic | Extending Knowledge Daily | http://www.CommunityMX.com/ |
#10
| |||
| |||
|
|
Paul Whitham TMM wrote: Your server must be on the East Coast. To get your time you need to do something like like % ServTime = Time() WCTime = dateAdd("h",3,ServTime) % %=WCTime% Paul, Wouldn't that place the time 3 hours ahead of what it is already, rather than 3 hours behind? -- Enjoy, Danilo Celic | Extending Knowledge Daily | http://www.CommunityMX.com/ |
![]() |
| Thread Tools | |
| Display Modes | |
| |