Connecting Tech Pros Worldwide Forums | Help | Site Map

system time using client side script

Newbie
 
Join Date: Jul 2006
Posts: 10
#1: Aug 10 '06
hi,

i want to display the corresponding users system time in my html page of my website using client side script.......how can i do this.......please give some coding or suggestions........
regards,
Mubarak

Member
 
Join Date: Jul 2006
Location: Chennai
Posts: 35
#2: Aug 10 '06

re: system time using client side script


hi,

use this code

<%a=Time()
response.write(a)%>

Regards
laksh
Member
 
Join Date: Jul 2006
Location: Chennai
Posts: 35
#3: Aug 10 '06

re: system time using client side script


hi ,

use time() function
<%
a=Time()
%>

Regards
Laksh
Member
 
Join Date: Jul 2006
Location: Chennai
Posts: 35
#4: Aug 10 '06

re: system time using client side script


Hi

Use Time () function

<%
a=Time()
%>
Newbie
 
Join Date: Jul 2006
Posts: 10
#5: Aug 10 '06

re: system time using client side script


wait wait ..
all that before is wrong man you need the client's system time right
use the javascript time function
d=new Date()
m=d.getMinutes()
s=d.getSeconds()
h=d.getHours()

concatenate'em and that's it

Regards
Reply