develooper Front page | perl.perl6.language | Postings from February 2009

Re: Temporal and purity

Thread Previous | Thread Next
From:
Ruud H.G. van Tol
Date:
February 20, 2009 09:32
Subject:
Re: Temporal and purity
Message ID:
499EE930.70201@isolution.nl
David Green wrote:

> I don't like dates just starting at midnight because I've run into too 
> many awkward cases where $time < $date doesn't do what you mean because 
> it assumes 0:00:00 when you meant 23:59:59.  I'd rather have dates 
> becomes time-ranges.

And not all midnights exist, because time can jump from 23:59:59 to 
01:00:00. (DST)

-- 
Ruud

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About