Ignore:
Timestamp:
04/10/01 10:49:10 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/base/timer.cc

    r732 r738  
    11#include "timer.h"
    22
     3#include <stdio.h>
    34#include <iostream.h>
    45
     
    106107}
    107108
     109const 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
    108117const 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.