Changeset 738 for trunk/MagicSoft/Cosy/base/timer.cc
- Timestamp:
- 04/10/01 10:49:10 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/base/timer.cc
r732 r738 1 1 #include "timer.h" 2 2 3 #include <stdio.h> 3 4 #include <iostream.h> 4 5 … … 106 107 } 107 108 109 const char *Timer::GetTimeStr() 110 { 111 sprintf(fDateStr, "%d/%02d/%02d %d:%02d:%02d.%06li", 112 fYea, fMon, fDay, fHor, fMin, fSec, (long)(1000000.0*fMs)); 113 114 return fDateStr; 115 } 116 108 117 const int Timer::fDays[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
Note:
See TracChangeset
for help on using the changeset viewer.