|
Posted by Mad Hatter on 10/12/07 10:34
Hi
>
> DATE() does not take any parameters - you're getting confused with PHP's
> date, or SQL's DATE_FORMAT
> TIME() only returns the time of day
That's where I'm going wrong then. I'm using php commands on a sql query
:-(
>
> Are you sure you have the dob as a Unix Timestamp? That would be weird.
> Now for example would be "1192147732" in Unix Time.
Yup, definetely Unix timestamp. I prefer storing dates that way.
>
> It's more likely you have the dob as a DATE column-type, e.g. 1943-12-31
> It that's the case, then use:
Thanks but due to unix date no help :-(
Navigation:
[Reply to this message]
|