Converting Date to day

Posted on 2006-06-22
Last Modified: 2010-04-23
i want to switch 2005-10-10 to what day it did correspond on the calendar. Using .NET Framework 1.1.

Best Regards.
Question by:TheSonics
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 10

Expert Comment

ID: 16962474
Day of the week, day of the year?

Author Comment

ID: 16962488
Day of week.
LVL 10

Expert Comment

ID: 16962549
Dim d As Date = "10/10/2005"
        Dim dWeek As String
        Select Case d.DayOfWeek
            Case 1
                dWeek = "Mon"
            Case 2
                dWeek = "Tue"
            Case 3
                dWeek = "Wed"
            Case 4
                dWeek = "Thu"
            Case 5
                dWeek = "Fri"
            Case 6
                dWeek = "Sat"
            Case 7
                dWeek = "Sun"
        End Select
LVL 37

Accepted Solution

Harisha M G earned 250 total points
ID: 16962563

Instead of Now(), you can have your date

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When many people think of the WebBrowser ( control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question