www.digitalmars.com         C & C++   DMDScript  

D - bug: date.toTimeString

reply "Carlos Santander B." <carlos8294 msn.com> writes:
I'm trying this:

import date, c.stdio;
void main() {
    d_time start,end;
    start=getUTCtime();
    for (uint i=0;i<10000;i++) {  }
    end=getUTCtime();
    printf('%l [%.*s]-[%.*s]' \n,
end-start,toTimeString(start),toTimeString(end) );
}

But I get: "Error: Switch Default date(609)". The same happens with
date.toString(). I'm using dmd 0.66 for win32.

-------------------------
Carlos Santander


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 2003-06-18
Jun 21 2003
parent "Walter" <walter digitalmars.com> writes:
I'll check it out. -Walter
Jun 22 2003