Re: simple date/now() question
| From: | Harlequin | Date: | Tue, 28 Sep 2004 18:10:01 +0000 |
| Subject: | Re: simple date/now() question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-198159@lists.php.net to get a copy of this message | ||
I gave up with the timestamp feature because although it's accurate it's not
English and needs to be reworked to make it presentable.
Despite finding code to do this I still moved on to using a date\time stamp
using the US format of-course and this echoes much easier and will of-course
be easier to perform calculations on.
Hope that helps some...
--
-----------------------------
Michael Mason
Arras People
www.arraspeople.co.uk
-----------------------------
"Mag" <genphp@yahoo.com> wrote in message
news:20040928153500.34146.qmail@web21525.mail.yahoo.com...
> Hi,
> I have a field in the db called
>
> join_date_time(timestamp 14)
>
> which has data like:
>
> 20040928170708
> 20040916163619
> etc
>
> This keeps track of the customer join date, I need to
> know if the client has joined in the last 24hrs or
> more than 24hrs back...
>
> Anybody have a function for this? or can help? am a
> bit confused because reading on google I see that
> there are 2 possible problems as MySql has its own
> time and PHP its own time (most of the time!)....
>
> Thanks,
> Mag
>
> =====
> ------
> - The faulty interface lies between the chair and the keyboard.
> - Creativity is great, but plagiarism is faster!
> - Smile, everyone loves a moron. :-)
>
>
>
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com