Book Store  
  Contact Us  
  Links  
  Site Map  
ASP Scripts - date and time

Date and Time

 

Display date :

<%=date%>

Display time :

<%=time%>

Current date and time :

<%=now %>

Current month :

<%=month(now) %>

Current month name :

<% =monthname(month(now)) %>

Current day :

<%=day(now)%>

Current year :

<%=year(now)%>

The current week day :

<%=weekday(now)%>

Current week day name :

<%=weekdayname(weekday(now))%>

Current hour :

<%=hour(now)%>

Current minutes :

<%=minute(now)%>

Current seconds :

<%=second(now)%>