Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

void OSystem::getTimeAndDate ( struct tm &  t  )  const [virtual]

Get the current time and date. Correspond to time()+localtime().

Definition at line 127 of file system.cpp.

                                               {
      time_t curTime = time(0);
      t = *localtime(&curTime);
}


Generated by  Doxygen 1.6.0   Back to index