adsense


Showing posts with label VB SCRIPT TIMER FUNCTION. Show all posts
Showing posts with label VB SCRIPT TIMER FUNCTION. Show all posts

Sunday, 8 November 2015

VB SCRIPT TIMER FUNCTION PAGE 84

COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button




VB SCRIPT TIMER FUNCTION





Timer Function 


The Timer Function returns the number of seconds and milliseconds since 12:00 AM. 
Syntax 
Timer()  
Example 
<!DOCTYPE html> 
<html> 
<body> 
<script language="vbscript" type="text/vbscript"> 
  
 document.write("Time is : " & Now() & "<br />") 
 document.write("Timer is: " & Timer()) 
 
 </script> 
</body> 
</html> 
When you save it as .html and execute it in Internet Explorer, 
then the above script will produce the following result: 
Time is : 19/07/2013 3:45:53 PM 
Timer is: 56753.4  


VB SCRIPT TIMER FUNCTION PAGE 83

COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button




VB SCRIPT TIMER FUNCTION





Time Function 


The Time Function returns the current system time. 
Syntax 
Time()  
Example 
<!DOCTYPE html> 
<html> 
<body> 
<script language="vbscript" type="text/vbscript"> 
 
 document.write("Line 1: " & Time() & "<br />") 
  
</script> 
</body> 
</html> 
When you save it as .html and execute it in Internet Explorer, 
then the above script will produce the following result: 
Line 1: 3:29:15 PM