Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Time and Date?  (Read 2650 times)

0 Members and 1 Guest are viewing this topic.

wtf

  • Newbie
  • *
  • Posts: 15
    • View Profile
Time and Date?
« on: September 11, 2011, 04:40:06 am »
I am trying to make a calendar/clock in SFML, but I don't know how to get the time or the date. So if anyone knows how to do this please tell me.
I am using SFML 2.0 with Visual C++ 2010 on a Windows 7 system if that helps at all.

Haikarainen

  • Hero Member
  • *****
  • Posts: 545
    • MSN Messenger - fredrik.haikarainen@gmail.com
    • View Profile
    • Email
Re: Time and Date?
« Reply #1 on: September 11, 2011, 06:11:38 am »
Quote from: "wtf"
I am trying to make a calendar/clock in SFML, but I don't know how to get the time or the date. So if anyone knows how to do this please tell me.
I am using SFML 2.0 with Visual C++ 2010 on a Windows 7 system if that helps at all.


Google it!

http://www.daniweb.com/software-development/cpp/threads/102548 <- first result of "Get timestamp c++"