[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DateTime() constructor
From: |
Marcelo Dalmas |
Subject: |
Re: DateTime() constructor |
Date: |
Wed, 29 Jan 2003 09:40:29 -0200 |
Hi,
attached, a new constructor for Datetime.
On Tue, 28 Jan 2003 10:27:12 -0500
"Mike Suchoff" <address@hidden> wrote:
> In default constructor of DateTime
> DateTime::DateTime() : Date(), Time() {}
>
> The separate calls to Date() and Time() will each make a different call to
> operating system for current time.
> If call to Date() returns 12/31/2002 23:59:59 and call to Time() returns
> 1/1/2003 0:0:0 then you end up with value that is off by 24 hours
> (12/31/2002 0:0:0).
>
>
>
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>
--
Marcelo Dalmas
BRASMAP Sistemas
www.brasmap.com.br
Fone/Fax: (48) 333-2218 ramal 2114
Linux user #114373 http://counter.li.org/
date.patch
Description: Binary data