Time Control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smartchap
    New Member
    • Dec 2007
    • 236

    Time Control

    In Visual Basic is there any control for Time (in hh:mm:ss format) like DTPicker or MonthView. If yes, in which Component will it be visible. If No, please suggest a simple method for Time Control, i.e. selecting a particular time from that control.
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Use DTPicker for the purpose.

    Comment

    • smartchap
      New Member
      • Dec 2007
      • 236

      #3
      Mr. Debashish
      How to set time from DTPicker is not known to me. Please suggest. As I know it is for date (dd/mm/yyyy).
      Thanks.

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        Change the format to dtpTime

        Comment

        • smartchap
          New Member
          • Dec 2007
          • 236

          #5
          Thanks Mr. Debasis Das. It was an information to me. In one of my program I created a text box with spins and some code to set the time whereas it is a built in facility in VB6.
          I think this forum has some good assets like you and Killer42, etc.

          Comment

          • smartchap
            New Member
            • Dec 2007
            • 236

            #6
            One thing more. It shows time in AM PM format. How to get it in 24 hours format.

            Comment

            Working...