DateTimePicker custom format

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dougancil
    Contributor
    • Apr 2010
    • 347

    DateTimePicker custom format

    Is there anyway to custom format the DateTimePicker so that users can only select weekdays?

    Thank you,

    Doug
  • ThatThatGuy
    Recognized Expert Contributor
    • Jul 2009
    • 453

    #2
    Originally posted by dougancil
    Is there anyway to custom format the DateTimePicker so that users can only select weekdays?

    Thank you,

    Doug
    Then i guess you need to write your own custom control...

    Comment

    • dougancil
      Contributor
      • Apr 2010
      • 347

      #3
      ThatThatGuy,

      What I was asking is what would be the format or if anyone has done that? I have read the MSBOL and it doesn't give a lot of info about how to select specific dates other than how to do days or weeks or months at a time. I was asking if anyone had done this so I don't have to reinvent the wheel if someone had the code handy.

      Thanks

      Doug

      Comment

      • gelmo214
        New Member
        • Jul 2010
        • 6

        #4
        Label2.Text = Format(DateTime Picker1.Value, "dddd") ==in this code it shows the current day..it is it?

        Comment

        • gelmo214
          New Member
          • Jul 2010
          • 6

          #5
          sorry,,i misquoted your requirement..

          Comment

          Working...