How to Display Date Format in JavaScript

Tutorials Shared by the Internet Community


  Top Tutorials     New Tutorials     Submit     Login     Register  

How to Display Date Format in JavaScript

Here I have given very simple codes for printing different date formats
  • Total Hits: 10852

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating


  • Total Votes: 14 votes

  • Category: Java Script/Objects

  • Submitted on: 2014-03-20 01:00:02

  • Submitted By: shuseel baral

  • Set as Favorite


You can display different date format using Date object in JavaScript for your webpage or web application. The Date object automatically hold the current date and time as its initial value. You can extract Year, Month, Day along with Hours, Minutes and Seconds from it.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 28.57%  4
 Two starsTwo star  Vote LeftVote MiddleVote Right 14.29%  2
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 14.29%  2
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 14.29%  2
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 28.57%  4

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.