Fri Apr 08, 2011 11:44 pm
<%
Dim d_currentdate
d_currentdate = Now
' get week day name: for example Friday
Response.Write(WeekdayName(Weekday(d_currentdate)))
' you can get only short name. for example Fri
Response.Write(WeekdayName(Weekday(d_currentdate), False))
'you can get also month name : example December
Response.Write(MonthName(12, True))
'short name : example Dec
Response.Write(MonthName(12, False))
%>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.