Results 1 to 2 of 2

Thread: A question about TIME

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    879

    Talking

    I want to display the time in a label I want it in this format HH:MM Am I don't want to display seconds! How do I do that!?
    Visual Basic 6.0
    Visual C++ 5
    Delphi 5


  2. #2
    Guest
    Use the Format function.

    Code:
    Label1.caption = Format(Time, "HH:MM AMPM")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width