Of course. Thanks. Here is what I did:
' set default from time to client's current time
If (Not Me.IsStartupScriptRegistered(STR_DefaultFromDateSc ript))
Then
Me.RegisterStartupScript(STR_DefaultFromDateScript , "<script
language=JavaScript>d=new Date();document.forms[0].txtFromTime.value =
getHHMM(d,'hh:mm');</script>")
End If
On Mon, 7 Nov 2005 07:37:25 -0400, "Juan T. Llibre"
<no***********@nowhere.com> wrote:
Use Javascript, registered with Page.RegisterClientBlock.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"wapsiii" <wa*****@otmail.com> wrote in message
news:5e********************************@4ax.com.. .I have a form in which users must enter date and time. The users are
spread out over several timezones and I'd like to load the form with
the date/time of the current user. How do I get the date/time of the
user's client?