C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Revenue Sharing | Talk to Us |



My Profile

Gifts

Active Members
TodayLast 7 Days more...








Date object's' getDate() method



This article explains about Date object getDate() method





getDate()



Returns the day of the month in a specified Date.


<html>

<head>

<script>

function f()

{

var date = new Date()

document.write(date.getDate())

}

</script>

</head>

<body>

<input type ="button" value ="Click to get today's day" onclick ="return f();" >

</body>



As getDate returns current day between 1 to 31 , the above code produces today's day as output.

Note that it returns date of client not server.






Next Chapter: Javascript date object's getMonth()


Previous Chapter: The Date Object


Tutorial Index




Read TATA Nano reviews.
dotNet Slackers   BizTalk Adaptors    Web Design   Scripts
Are you waiting for engineering entrance result? Watch here for engineering entrance results.
budget conference call

Contact Us    Privacy Policy    Terms Of Use