28 th Jun 2022 21:03:31
Hai Friend , Sign In
Chennai City
G. K.
Tamil Nadu Government Holiday List 2018 in English and Tamil   *   Trichy: Wanted - PHP, MySql Programmers. Contact trichy people only 84894 28 444.   *   Indian Railways New Train Number List [Search / Enquiry / Locator / Finder]   *   பன்றிக் காய்ச்சல் பற்றி அறிந்து கொள்ளுங்கள் (Swine Flu H1N1)
See Also
MonthName Function MonthName Function
Date Time Functions Date Time Functions
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
Description  Syntax  Return Datatype  Example  Migration

WeekdayName Function - Visual Basic 6.0 (VB 6.0)

Returns a string indicating the specified day of the week.
WeekdayName(weekday, [abbreviate],[firstdayofweek])
Parameter Description
weekday Required. A number from 1 through 7 that indicates a day of the week.
abbreviate Optional. Boolean value that indicates if the weekday name is to be abbreviated.
Default value False.
firstdayofweek Optional. Numeric value indicating the first day of the week.

WeekdayName Function's firstdayofweek argument:
Constants Value Description
vbUseSystem 0 Use National Language Support (NLS) API setting.
vbSunday 1 Default. Sunday
vbMonday 2 Monday
vbTuesday 3 Tuesday
vbWednesday 4 Wednesday
vbThursday 5 Thursday
vbFriday 6 Friday
vbSaturday 7 Saturday
Note: When use vbVolume(8) with any other attributed is specified, vbVolume is ignored.

Return Data type:

Statement Result Remark
WeekdayName(Weekday(Date)) Current Weekday Name
WeekdayName(Weekday(Date), True) Abbreviation
WeekdayName(Weekday(#Feb 28 1990#))  
WeekdayName(unknown) Error Invalid procedure call or ...
WeekdayName(Null) Error Invalid use of Null
WeekdayName("abcd") Error Type mismatch
WeekdayName(True) Error Invalid procedure call or ...
WeekdayName(False) Error Invalid procedure call or ...
Go to top

Migration from Visual Basic 6.0 (VB 6.0) to
  WeekdayName Function in VB Script (VBS)
  WeekdayName Function in JScript (JS)
  WeekdayName Function in ASP (Active Server Page)
  WeekdayName Function in PHP Script
  WeekdayName Function in MS-Access
  WeekdayName Function in MS SQL Server
  WeekdayName Function in Oracle
  WeekdayName Function in C Language
  WeekdayName Function in C++ Language
  WeekdayName Function in Foxpro
  WeekdayName Function in Fortran
  WeekdayName Function in MS Excel Sheet
Go to top

© 2021 Chennaiiq.com. All Rights Reserved.