[DUG] Date Time conversion of 0

Rohit Gupta rohit at cfl.co.nz
Fri Jun 3 13:30:36 NZST 2005


Phil,

this is why I do not use DateToStr and TimeToStr.  Instead I supply 
my format with FormatDateTime.

Date sent:      	Fri, 03 Jun 2005 12:43:06 +1200
From:           	Phil Middlemiss <phil at tumonz.co.nz>
Organization:   	MTS Ltd
To:             	NZ Borland Developers Group - Delphi List <delphi at ns3.123.co.nz>
Subject:        	[DUG] Date Time conversion of 0
Send reply to:  	NZ Borland Developers Group - Delphi List <delphi at ns3.123.co.nz>
	<mailto:delphi-request at ns3.123.co.nz?subject=unsubscribe>
	<mailto:delphi-request at ns3.123.co.nz?subject=subscribe>

[ Double-click this line for list subscription options ] 

If I call TimeToStr(0) on some machines I get 0:00:00 which is great, 
but on other machines I get 12:00:00.

Can anyone shed any light on this?

Cheers,
Phil.
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
Regards

Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email rohit at cfl.co.nz  or  r.gupta at xtra.co.nz
======================================================================




More information about the Delphi mailing list