17 th Aug 2019 20:59:06
Hai Friend , Sign In
Home
World
INDIA
Chennai City
Games
Developers
Members
Birthday
IP 2 Location
Search
Astrology
G. K.
Story
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.
Syntax:
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:
String
Example:

Statement Result Remark
WeekdayName(Weekday(Date)) Current Weekday Name
WeekdayName(Weekday(Date), True) Abbreviation
WeekdayName(2)  
WeekdayName(Weekday(#Feb 28 1990#))  
WeekdayName(1)  
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
 





© 2005 - 2007 Chennaiiq.com. All Rights Reserved.

Our Sites: ChennaiIQ.com || Tamil Calendar || Tamil Panchangam || KP Astrology
Our Blogs: Tamil Calendar



12062