Closed Thread Icon

Topic awaiting preservation: cold fusion: date format master & detail page (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12328" title="Pages that link to Topic awaiting preservation: cold fusion: date format master &amp;amp; detail page (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: cold fusion: date format master &amp; detail page <span class="small">(Page 1 of 1)</span>\

 
patric design
Bipolar (III) Inmate

From: 290 km/h, fast lane, Autobahn, Germany
Insane since: Feb 2001

posted posted 07-23-2002 20:24

good day Y'all

I have just finished my fisrt ever cold fusion page. I am quite thrilled about this.
However, there remains a problem:

The purpose is a news system that shows the first three headlines and their date on the master page.

Now instead of

23.07.2002 - World beer supplies to run out in 2012

i get a really ugly date format

2002-07-23 00:00:00.0 - World beer supplies to run out in 2012

Now, don't take the headline so seriously ;-)...

How do I get this to work the way i want? The cf is running on my local server BTW.

<´¯`·.¸ Patric ¸.·´¯`>

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-24-2002 06:41

All I can say is this - RTFM!

DateFormat() function
TimeFormat() function

BTW ColdFusion is *evil*...


patric design
Bipolar (III) Inmate

From: 290 km/h, fast lane, Autobahn, Germany
Insane since: Feb 2001

posted posted 07-24-2002 10:46

Thanx mr.max! It works just fine now.

If you don't mind telling me: Why is cold fusion evil?
I've tried it for a few days now and i much prefer it over asp.

<´¯`·.¸ Patric ¸.·´¯`>

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-24-2002 13:00

Well, for a start ColdFusion has *extremely* ugly syntax. The same can be said for ASP, which is also *evil*.

You should really take a look at PHP. You'll never go back to CF or ASP afterwards...


« BackwardsOnwards »

Show Forum Drop Down Menu