split date in javascript, jQuery
Split the Date:-
We can get the current system time and date using Date() function and we can separate the year, month, day, hours, minutes and seconds using getFullYear() , getMonth(), getDate(), getHours(), getMinutes(), getSeconds() methods.
Example Program:- (Editor)
Output:-
Advertisement
Screen Shots:-
We can get the current system time and date using Date() function and we can separate the year, month, day, hours, minutes and seconds using getFullYear() , getMonth(), getDate(), getHours(), getMinutes(), getSeconds() methods.
Example Program:- (Editor)
Output:-
Advertisement
Screen Shots:-
Post a Comment for "split date in javascript, jQuery"