Article View: borland.public.cppbuilder.nativeapi
Article #4937Re: time_t to TDateTime
From: Steve Aletto
Date: Wed, 12 Oct 2005 15:33
Date: Wed, 12 Oct 2005 15:33
13 lines
1380 bytes
1380 bytes
> Not a leak... That's what I thought as well, but CodeGuard signals it... > But you might want to give rv a default value if localtime > fails. The TDateTime's contructor already gives a default value to rv: "when called with no arguments, the resulting TDateTime object has a Val data member of zero. This date and time corresponds to 12/30/1899 12:00 am". Steve.
Technical Details
Message-ID:
<434d2c7e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<434cfde3$1@newsgroups.borland.com> <434d20f1@newsgroups.borland.com> <r4aqk11oi1r48eu3qd9knkq2mf7lv31eua@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,abdfe71df549986f X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Steve Aletto" <stevealettoANTI@SPAMgmail.com> From: "Steve Aletto" <stevealettoANTI@SPAMgmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <434cfde3$1@newsgroups.borland.com> <434d20f1@newsgroups.borland.com> <r4aqk11oi1r48eu3qd9knkq2mf7lv31eua@4ax.com> Subject: Re: time_t to TDateTime Date: Wed, 12 Oct 2005 17:33:44 +0200 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 81.208.124.114 Message-ID: <434d2c7e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1129131134 81.208.124.114 (12 Oct 2005 08:32:14 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail