weekday name


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: weekday name

  1. #1
    srinu Guest

    weekday name


    Hi all,

    is there any function which will give weekday name (like sunday,monday...)
    when we pass number to it(like 1,2..).

    best regards,

    srinu

  2. #2
    Paul Clement Guest

    Re: weekday name

    On 19 Dec 2001 09:30:42 GMT, "srinu" <gsri_reddy@rediffmail.com> wrote:


    Hi all,

    is there any function which will give weekday name (like sunday,monday...)
    when we pass number to it(like 1,2..).


    Yes, it's called the WeekdayName function. ;-)


    Paul ~~~ pclement@ameritech.net
    Microsoft MVP (Visual Basic)

  3. #3
    Sowmiya Guest

    Re: weekday name


    Yes it is possible with weekdayname function in the following format to find
    out the day of today

    str = WeekdayName(Weekday(Date), False, vbUseSystemDayOfWeek)
    str results to be friday



    Paul Clement <UseAdddressAtEndofMessage@swspectrum.com> wrote:
    >On 19 Dec 2001 09:30:42 GMT, "srinu" <gsri_reddy@rediffmail.com> wrote:
    >
    >
    > Hi all,
    >
    > is there any function which will give weekday name (like sunday,monday...)
    > when we pass number to it(like 1,2..).
    >
    >
    >Yes, it's called the WeekdayName function. ;-)
    >
    >
    >Paul ~~~ pclement@ameritech.net
    >Microsoft MVP (Visual Basic)



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center