Customize the display of Week Numbers in the Calendar of Date Time picker in VB.Net

Posted on 2007-10-10
Last Modified: 2013-11-26
DateTimePicker contol can display the week number in the calender pop-up. My requirement is that my year does not start on January 1 rather it can start from Feb 1 or March 1 or anyother date. Keeping the months and days in a month rule same...i want to display the week number based on the start date of my year in my application.


Any idea how the DateTimePicker control can be customised to display week numbers based on the start date of my year in my application.l



Question by:bpeeyush
    LVL 16

    Accepted Solution

    ShowWeekNumber: Default is False. Setting it to True will display the week number of the current week in the 52 week year. It will be displayed toward the left side of the control.
    LVL 16

    Expert Comment

    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now