CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 date troubles part 2

Print topic Send  topic

Author Message
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
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.