HighDots Forums  

<%=Time()%> Eastern Time?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss <%=Time()%> Eastern Time? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
danilocelic
 
Posts: n/a

Default Re: <%=Time()%> Eastern Time? - 08-02-2004 , 09:10 PM






Les Matthews wrote:

Quote:
How about this JavaScript/ASP solution?
http://www.devx.com/tips/Tip/13594
I was thinking something like that, but wondered if there is a server variable that told the server what timezone the cleint was reporting to be in. Thanks for the link.

--
Enjoy,
Danilo Celic
Quote:
Extending Knowledge Daily
http://www.CommunityMX.com/

Reply With Quote
  #12  
Old   
Paul Whitham TMM
 
Posts: n/a

Default Re: <%=Time()%> Eastern Time? - 08-02-2004 , 10:26 PM






That approach would be full of problems. The only method available would be
to use the IP address and then try to get some measure on where the person
was from. Unfortunately this approach doesn't work as the IP blocks will
relate to the location of the ISP and not the visitor. For example AOL users
seem to show up in the stats as all residing in Virginia.


--
Regards

Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
www.valleybiz.net

Team Macromedia Volunteer for Ultradev/Dreamweaver MX
www.macromedia.com/support/forums/team_macromedia

"danilocelic" <danilo (AT) shimmerphase (DOT) com> wrote

Quote:
Les Matthews wrote:

How about this JavaScript/ASP solution?
http://www.devx.com/tips/Tip/13594

I was thinking something like that, but wondered if there is a server
variable that told the server what timezone the cleint was reporting to be
in. Thanks for the link.
Quote:
--
Enjoy,
Danilo Celic
| Extending Knowledge Daily
| http://www.CommunityMX.com/



Reply With Quote
  #13  
Old   
John Gaver
 
Posts: n/a

Default Re: <%=Time()%> Eastern Time? - 08-03-2004 , 02:29 AM



On 8/2/04 9:26 PM, in article cemstp$qur$1 (AT) forums (DOT) macromedia.com, "Paul
Whitham TMM" <paul (AT) valleybiz (DOT) net> wrote:

Quote:
That approach would be full of problems. The only method available would be
to use the IP address and then try to get some measure on where the person
was from.
I believe that the JS function "toLocaleString()" will output the local time
on the client's system, as long as he has his TZ set properly.

John Gaver
Action America
(forget everything to contact me direct)

Microsoft: (n) Job security for IT consultants.



Reply With Quote
  #14  
Old   
dprulhiere
 
Posts: n/a

Default Re: <%=Time()%> Eastern Time? - 08-03-2004 , 11:38 AM



I really appreciate ll the help.

I used...
Quote:
%
Dim ServTime, WCTime
ServTime = Time()
WCTime = dateAdd("h",-3,ServTime)
%

%=WCTime%
It works great and was probably what I wanted

thank you very much



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.