> 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
- Re: Strptime issues David Hood
- Re: Strptime issues Flavio S. Glock
- Re: Strptime issues Flavio S. Glock
- Re: Strptime issues Flavio S. Glock
- Re: Strptime issues Flavio S. Glock
- Re: Re: Strptime issues rickmeasham
- Re: Re: Strptime issues rickmeasham
- Re: Strptime issues Flavio S. Glock
- Re: Re: Re: Strptime issues rickmeasham
- Re: Re: Strptime issues rickmeasham
- Re: Strptime issues rickmeasham
- Re: Strptime issues Flavio S. Glock
