Pages
(Move to ...)
Assignment
Synopsis
C
Graphics
Compiler
C#
DCN
DBMS
Discrete Math
DS
IT Fun
Java
Json
NIELIT
Notes
Office
OOPS
OS
PHP
Project
Phython
Question
SSAD
Web
UGC Net
VB
ASP
▼
Wednesday, 16 May 2018
Get Date Time (dd/mm/yyyy)
<
script
>
var
d =
new
Date();
document.write(d.getDate() +
'/'
+ (d.getMonth() + 1) +
'/'
+ d.getFullYear());
document.write(
' Time : '
+d.getHours() +
' : '
+ d.getMinutes() +
' : '
+ d.getSeconds());
</
script
>
Next Topic
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment