Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Other Development Tools
 How to pass server time to a javascript ?

Author  Topic 

shajimanjeri
Posting Yak Master

179 Posts

Posted - 2006-12-23 : 13:33:58
Hi,
How to pass server time to javascript and want to explore it as a js time.


With regards
Shaji

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2006-12-23 : 15:20:06
Set a hidden value as the server time

<input name="hiddenField" type="hidden" value="<%=date%>">
Go to Top of Page

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2006-12-24 : 02:56:23
nobody writes code for you here.

You must have your code and people compliment it and pass comments.

Secondly, i dont do jscript, sorry
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-12-24 : 23:50:06

Select GETDATE()
will give you DATE and TIME. Extract time part and show it there

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2006-12-25 : 03:40:22
oh oh, Shaji I see you deleted your last post
Go to Top of Page

chiragkhabaria
Master Smack Fu Yak Hacker

1907 Posts

Posted - 2006-12-25 : 04:40:39
quote:
Originally posted by afrika

oh oh, Shaji I see you deleted your last post



This is common with the New Bie

Chirag

http://chirikworld.blogspot.com/
Go to Top of Page
   

- Advertisement -