FAQ said: > 2.3: Why do I need to truncate dates? > ... > Of course if you are trying to work out if an hour long > meeting is going on now then you should truncate to > hours... but for that kind of thing you probably want a > DateTime::Span
RFC - Do we need something like this?
$span = DateTime::Span->hour( $dt );
$span = DateTime::Span->day( $dt );
...
> QUESTION: Is there a better way to do this using DateTime::Sets?
I'll try to answer that.
- Flavio S. Glock
