Determinare il giorno della settimana in ASP | |||||||
13 Novembre 2007 | ASP |
![]() ![]() ![]() |
|
|
![]() |
<%
dim dayoftheweek(7)
dayoftheweek(1) = "Dom"
dayoftheweek(2) = "Lun"
dayoftheweek(3) = "Mar"
dayoftheweek(4) = "Mer"
dayoftheweek(5) = "Gio"
dayoftheweek(6) = "Ven"
dayoftheweek(7) = "Sab"
dates = dateSerial(anno, mese, giorno)
dayofweek = weekday(dates)
Response.write("Giorno della Settimana: "+dayoftheweek(dayofweek))
%>