getting LocalTime

This is a discussion on getting LocalTime within the Windows Programming forums, part of the Platform Specific Boards category; How do I get the local time in windows? thanks....

  1. #1
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768

    Arrow getting LocalTime

    How do I get the local time in windows?

    thanks.
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Use the GetLocalTime() API routine. Look it up in the help or at MSDN.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. localtime curiosity
    By rjhanby in forum C Programming
    Replies: 5
    Last Post: 03-20-2009, 11:15 AM
  2. localtime
    By cnu_sree in forum C Programming
    Replies: 1
    Last Post: 06-07-2007, 12:19 AM
  3. Converting localtime seconds into float
    By superpickle in forum C Programming
    Replies: 2
    Last Post: 05-12-2007, 06:09 PM
  4. localtime and time
    By l2u in forum C Programming
    Replies: 5
    Last Post: 07-24-2006, 01:10 PM
  5. localtime(), time(). What happened?
    By Nutka in forum C Programming
    Replies: 7
    Last Post: 12-10-2002, 06:22 AM

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