How to Display Date Format in JavaScript?

You can display different date format using Date object in JavaScript for your webpage or web application.The different date format may be year only (YYYY), year and month (YYYY-MM), complete date (YYYY-MM-DD), complete day with day name (YYYY-MM-DD DayName) and date with different time format. Different methods are available in date object to manipulate date in JavaScript. 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. Here I have given very simple codes for printing different date formats, you can use respective codes for displaying...

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Cheap Web Hosting