VBScript Time Function
VBScript Time
VBScript Time() Function returns the current system time.
Syntax :
Time()
Example
<!DOCTYPE html> <html> <body> <script language="vbscript" type="text/vbscript"> document.write("Current Time is : " & Time()) </script> </body> </html>
Output :
After running above script in IE we will get following output -
Current Time is : 5:55:59 PM