D - bug: date.toTimeString
- Carlos Santander B. (18/18) Jun 21 2003 I'm trying this:
- Walter (1/1) Jun 22 2003 I'll check it out. -Walter
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