Get date and time using javascript

     Javascript have Date() method for getting current time and date.

syntax

     var Today=new Date();



Example Program:- (Editor)


Editor is Loading...

Advertisement

0 nhận xét:

Đăng nhận xét