Change Date to Day of Week


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Change Date to Day of Week

  1. #1
    Bob Guest

    Change Date to Day of Week


    Hi,

    How can I format a returned MonthView value to the day of the week.

    ie: 5/01/01 to Tuesday, 5/02/01 to Wednesday


    thank you
    Bob

  2. #2
    Russ Guest

    Re: Change Date to Day of Week


    "Bob" <schumarg@dadebehring.com> wrote:
    >
    >Hi,
    >
    >How can I format a returned MonthView value to the day of the week.
    >
    >ie: 5/01/01 to Tuesday, 5/02/01 to Wednesday
    >
    >
    >thank you
    >Bob


    Bob,
    Take a look at the WeekDayName() and WeekDay() functions.

    -Russ.


  3. #3
    Larry Rebich Guest

    Re: Change Date to Day of Week

    Bob:

    ' Mon, Tue, etc.
    Debug.Print Format$(Date, "ddd")

    ' Monday, Tuesday, Wednesday, etc.
    Debug.Print Format$(Date, "dddd")

    Cheers,
    Larry Rebich

    More tips link to:
    http://www.buygold.net/tips.html

    Please:
    No personal e-mail questions :-)


    "Bob" <schumarg@dadebehring.com> wrote in message
    news:3af29ab1$1@news.devx.com...
    >
    > Hi,
    >
    > How can I format a returned MonthView value to the day of the week.
    >
    > ie: 5/01/01 to Tuesday, 5/02/01 to Wednesday
    >
    >
    > thank you
    > Bob




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