Skip to content Skip to sidebar Skip to footer

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:-


get Current day year month hours minutes and seconds

Post a Comment for "split date in javascript, jQuery"