HOME  >  ÀÚ·á   >  ASPÀÚ·á½Ç
¹øÈ£ Á¦¸ñ Á¶È¸
45
ASP TextStream Object
743
44
ASP FileSystemObject Object
765
43
ASP ASPError Object
864
42
ASP Server Object
717
41
ASP Session Object
659
40
ASP Application Object
1140
39
VBScript Keywords
698
38
VBScript Year Function
909
37
VBScript WeekdayName Function
647
È®´ë   Ãà¼Ò    
The WeekdayName function returns the weekday name of a specified day of the week.
Syntax
WeekdayName(weekday[,abbreviate[,firstdayofweek]])

Parameter 	Description
weekday 	Required. The number of the weekday
abbreviate 	Optional. A Boolean value that indicates if the weekday name is to be abbreviated
firstdayofweek 	Optional. Specifies the first day of the week.

Can take the following values:

    0 = vbUseSystemDayOfWeek - Use National Language Support (NLS) API setting
    1 = vbSunday - Sunday (default)
    2 = vbMonday - Monday
    3 = vbTuesday - Tuesday
    4 = vbWednesday - Wednesday
    5 = vbThursday - Thursday
    6 = vbFriday - Friday
    7 = vbSaturday - Saturday

Example 1

Get the name of the 3rd day of the week:
<%

response.write(WeekdayName(3))

%>

The output of the code above will be:
Tuesday

Example 2

Get the short name of the 3rd day of the week:
<%

response.write(WeekdayName(3,True))

%>

The output of the code above will be:
Tue
36
VBScript Weekday Function
657
35
VBScript TimeValue Function
673
34
VBScript TimeSerial Function
666
33
VBScript Timer Function
666
32
VBScript Time Function
697
31
VBScript Second Function
652
30
VBScript Now Function
659
29
VBScript MonthName Function
705
28
VBScript Month Function
748
27
VBScript Minute Function
805
26
VBScript IsDate Function
888
1 2 3

 
sitemap    
all right reserved : ÀÌ ¸ðµç °Å! ´Ù~ ³»²¨!