Date stamps

Hi all,

Hopefully someone can please help me.

I have a date, stored in the variable as “9 Feb 2011”, obviously it is impossible to order this, so if possible I would like to know how to convert this into an integer, or the date u, which might also work.

Thanks in anticipation. :slight_smile:

Hi there,

The following should return the relevant unix timestamp:
[php]
$date = “9th Feb 2011”;
$stamp = strtotime($date);
[/php]

Thank you very much indeed! ;D

Sponsor our Newsletter | Privacy Policy | Terms of Service