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

 Julian date - Jan 1, 1970 = 0

Print topic Send  topic

Author Message
marks
Posted: 02/28/2003, 2:34 PM

I am using CCS to present reports from an existing database, the date format written to the database is julian. How do I get a value such as 1046443045 to show up as February 28, 2003 2:38? (or whatever minutes and seconds that example number works out to)
marks
Posted: 02/28/2003, 3:10 PM

Figured it out.
In the before show event for the date label, use DateAdd.
Eg. mydate.value=DateAdd("interval",mydate.value,"1-Jan-70 12:00:00")

Its amazing what you can do when you put your thinking cap on ;-)
Thanks to all who considered answering this, TIA!

   


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.