Results 1 to 5 of 5

Thread: Showing the current Time

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2002
    Posts
    41

    Showing the current Time

    anyone know how to show the current time?

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    VB Code:
    1. MsgBox(Now.ToShortTimeString)
    2. MsgBox(Now.ToLongTimeString)
    3. MsgBox(Now.TimeOfDay.ToString)

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2002
    Posts
    41
    thanks!
    how do u update it every second?
    so it would show it change every sec..

  4. #4
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Just use a timer and in the tick or whatever its event is called then update the time.

  5. #5

    Thread Starter
    Member
    Join Date
    Aug 2002
    Posts
    41
    Originally posted by Edneeis
    Just use a timer and in the tick or whatever its event is called then update the time.
    hmm.. didnt think of that

    thanks again!

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