RonB
|
| Posted: 05/22/2002, 5:22 AM |
|
win 2000 php mysql
If I have a date field in a record set and I use the default function
currentdate it shows 01/01/1970, this ofcourse not being the current date
(wich today would be 22-05-2002 
RonB
|
|
|
 |
Dave Rexel
|
| Posted: 05/22/2002, 4:28 PM |
|
Ron,
The following was posted by Kristian in another thread,
maybe it can help you
----------------
Using your suggestion the date still ends up
with 01/01/1970 in my case.
If I add 'strtotime(date("Y-m-d H:i:s"))' instead of only 'date("Y-m-d
H:i:s")' it works again.
------------------
Dave
"RonB" <r.borkent@123chello.nl> wrote in message
news:acg2i7$d4m$1@news.codecharge.com...
> win 2000 php mysql
> If I have a date field in a record set and I use the default function
> currentdate it shows 01/01/1970, this ofcourse not being the current date
> (wich today would be 22-05-2002 
>
> RonB
>
>
|
|
|
 |
|