windows (ugh) clock reading - HELP!

This is a discussion on windows (ugh) clock reading - HELP! within the Windows Programming forums, part of the Platform Specific Boards category; Hey, I was hoping to get some help on this subject. Im building a calender program in VB v6, and ...

  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    33

    windows (ugh) clock reading - HELP!

    Hey, I was hoping to get some help on this subject.

    Im building a calender program in VB v6, and im at the point where I need to read the time from the windows clock situated in the bottom right corner of screen...
    Does anybody know of a way I can recieve the date from the clock...?
    Then I would check these parameters against the records stored and hey-presto the calender would bring up the correct data... ect, ect.

    Can YOU help?

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    The standard way is the time() function. Windows also has other functions -- GetSystemTime, I think -- that you can use too. You should doublecheck with MSDN.

  3. #3
    Registered User
    Join Date
    Aug 2008
    Posts
    33
    cheers. Im on it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 07:14 AM
  2. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 09:59 AM
  3. Script errors - bool unrecognized and struct issues
    By ulillillia in forum Windows Programming
    Replies: 10
    Last Post: 12-18-2006, 03:44 AM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21