DateTimePicker

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Atley

    #1

    DateTimePicker

    Is there a way to use the DateTimePicker to pick a time or is it just used
    to pick dates? If so, why is it called DATEtimepicker?


  • Chris Dunaway

    #2
    Re: DateTimePicker

    On Thu, 26 Feb 2004 23:04:06 -0500, Atley wrote:
    [color=blue]
    > Is there a way to use the DateTimePicker to pick a time or is it just used
    > to pick dates? If so, why is it called DATEtimepicker?[/color]

    To use the datetimepicker for times, set the Format property to either Time
    or Custom (Use Custom if you want to control the format of the time using
    the CustomFormat property). Then set the ShowUpDown property to true.


    --
    Chris

    To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
    address.

    Comment

    • Atley

      #3
      Re: DateTimePicker

      Perfect... solves even the question I was going to ask next...


      "Chris Dunaway" <dunawayc@_lunc hmeat_sbcglobal .net> wrote in message
      news:8lwz9fna8y gn.1ircqcrw40o2 b$.dlg@40tude.n et...[color=blue]
      > On Thu, 26 Feb 2004 23:04:06 -0500, Atley wrote:
      >[color=green]
      > > Is there a way to use the DateTimePicker to pick a time or is it just[/color][/color]
      used[color=blue][color=green]
      > > to pick dates? If so, why is it called DATEtimepicker?[/color]
      >
      > To use the datetimepicker for times, set the Format property to either[/color]
      Time[color=blue]
      > or Custom (Use Custom if you want to control the format of the time using
      > the CustomFormat property). Then set the ShowUpDown property to true.
      >
      >
      > --
      > Chris
      >
      > To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
      > address.[/color]


      Comment

      Working...