CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 timestamp format

Print topic Send  topic

Author Message
Fernando
Posted: 12/04/2003, 6:55 AM

Hi, i need help ..
i'm using this code

$flddatetime= date ("d-m-Y h:i a",$fldpunto);

but the result not is correct..
for example
$fldpunto = "20031203122851" ---->(result) = $flddatetime="19-01-2038 12:14 am"

if anyone know how can i modify my code to get a right datetime, please response my message.!!
Tim
Posted: 12/04/2003, 3:58 PM

Hi Fernando,

I think the variable $fldpunto has to be a valid Unix timestamp for date to work. Check out the mktime() function.

Tim

   


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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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