> Flavio S. Glock <[EMAIL PROTECTED]> wrote: 
>  
> How about to extend the 'to_datetime' method, 
instead of creating a 
> new 
> one: 
>  
>    if ($dti->can_be_datetime) { 
>       $dti = $dti->to_datetime 
>    } 
>  
 
Sounds good .. and it's as simple as using 
DateTime->today as the base, which may well be a 
good default behaviour for ->to_datetime when no 
base is in the object or none is passed in the call. 
 
Cheers! 
Rick 

Reply via email to