ASP Month, Day, and Year Functions

web

 
  Sponsored Links


The ASP Month(), Day(), and Year() functions are used to return the date in it's individual components.

ASP Coding for Month Function

<%

Response.Write month(Date())

%>


OR

<%

=month(Date())

%>


Result

7

Month, Day, and Year Functions Results
month(Date()) 7
day(Date()) 30
year(Date()) 2010
month(Now()) 7
day(Now()) 30
year(Now()) 2010
   
 
web

ReaLife WebDesigns / 310.371.3275
We appreciate having the opportunity to contribute to the success of your business!

© 1999-2010 ReaLife WebDesigns. All rights reserved. site map | terms of use