Joined: Tue Mar 27, 2007 10:55 pm Posts: 2272 Location: Earth Has thanked: 39 time Have thanks: 61 time
Following code get the name of week day or month name ,full name or short one for your date.
Code:
<% 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)) %>
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )