#ifndef SYSTIME_H #define SYSTIME_H /////////////////////////////////////////////////////////////////////// // SysTime.h - Win32 API-based helper functions for system time // // ver 1.0 // // Platform: Dell Precision T7400, Win-7 Pro // // Application: CSE687 Project #3, Spring 2010 // // Author: Jim Fawcett, Syracuse University CST 4-187 // // (315) 443-3948, jfawcett@twcny.rr.com // /////////////////////////////////////////////////////////////////////// /* Package SysTime Operations: --------------------------- This package defines the class SystemTime which has two static methods for finding local system time and date. Public Interface: ----------------- std::string time = SystemTime::getSystemTime(); std::string date = SystemTime::getSystemDate(); */ /////////////////////////////////////////////////////////////// // maintenance page // /////////////////////////////////////////////////////////////// // Build Process // // // // Files Required: // // SysTime.h, SysTime.cpp // // // // Building with Visual C++ , 8.0, from command line: // // cl -EHa -DTEST_SYSTIME SysTime.cpp // // // /////////////////////////////////////////////////////////////// /* Maintenance History =================== ver 1.0 : 01 Apr 10 - first release */ #include #include namespace Win32Tools { class SystemTime { public: static std::string getSystemTime(); static std::string getSystemDate(); }; } #endif