You need to use a little Javascript  on the client to pass the uses timezone
to the server

The following will write a hidden field containing the offset in minute
between the locale time and GMT


<script>
n = new Date();
str = "<input type='hidden' value='" + n.getTimezoneOffset() + "'
name='offset'>";
document.write(str);

</script>

or you chould write it to a cookie for later use..


You can store the offset in a session var ....

~Justin


----- Original Message -----
From: "Mark Armendariz" <[EMAIL PROTECTED]>
To: "Cf-Talk" <[EMAIL PROTECTED]>
Sent: Monday, August 28, 2000 4:28 PM
Subject: Can I get the Client's Time instead of the Server's?


> Is there a way to do a Now() of some sorts in CF to get the client's
present
> time instead of the server's?
>
> Thanks in Advance
>
> Mark Armendariz
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
>

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to