[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why is a time of 00:00 regarded as Null?
[Thread Prev] | [Thread Next]
- Subject: Why is a time of 00:00 regarded as Null?
- From: Claus Dietrich <claus.dietrich@xxxxxxxxxx>
- Date: Tue, 30 Jul 2024 16:36:46 +0200
- To: Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
One of my programs failed today. The reason was surprising:A date consisting of a time component only and generated with an expression equivalent to this
dStartTime = cDate("00:00")is regarded as Null. As my program checks the presence of a time expression with
if dStartTime then ... it fails, if the time is 00:00, which is supposed to be a valid time.If this is no bug, how can I check whether a date contains a valid time-only-component including 00:00 ?
Best regards Claus
Re: Why is a time of 00:00 regarded as Null? | vuott@xxxxxxxxxxxx |
Re: Why is a time of 00:00 regarded as Null? | Gianluigi <gradobag@xxxxxxxxxxx> |