More information about the Underscore mailing list

[_] php getdate and mktime warning

Ritesh Patel ritesh.patel at purplelight.com
Wed Oct 17 09:32:06 BST 2007


   $today = time();

   :-)

   Quoting Rick Hurst <rick.hurst at gmail.com>:

> On 10/16/07, Steve Kirtley <steve.kirtley at gmail.com> wrote:
>> Hey matey,
>>
>> I may be wrong - but I don't think mktime can take an array as input, and
>> that's what getdate() returns...
>>
>> What are you trying to set $today as? The current timestamp?
>>
> yep the current timestamp is what i'm after - i'm not sure why it is
> set up how it currently is, knowing me I probably lifted it from
> something I found via google in a caffeine frenzy at 3am one day, but
> it didn't throw a warning on my local apache!
>
> --
> Rick Hurst, Web developer, Bristol, England
> http://www.rickhurst.co.uk
>
> --
> underscore_ list info/archive -> http://www.under-score.org.uk
>