[DUG] Date Time conversion of 0

Pedrocelli pedrocelli at amcom.co.nz
Sat Jun 4 17:35:51 NZST 2005


At 4 pm or 16:00 ?

----- Original Message ----- 
From: "Phil Middlemiss" <phil at tumonz.co.nz>
To: "NZ Borland Developers Group - Delphi List" <delphi at ns3.123.co.nz>
Sent: Friday, June 03, 2005 2:03 PM
Subject: Re: [DUG] Date Time conversion of 0


I normally use that also, but for some reason (this is old code that I
am maintaining) I had used TimeToStr - I must have written that code on
a Friday!

Phil.

Rohit Gupta wrote:

>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
>======================================================================
>
>
>_______________________________________________
>Delphi mailing list
>Delphi at ns3.123.co.nz
>http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
>
>
>
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi



More information about the Delphi mailing list