CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 timestamp format

Print topic Send  topic

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



These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Web Database

Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

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