thanks (wow very quick reply!)

however I get this message when I try and use my date in the  
database ( rather than Now() ).

"Entity has incorrect type for being called as a function.  
The symbol you have provided date_last_modified is not the name of  
a function."

Any clues?

================ You wrote ================
Hi.
>
>This works.
>
><cfset plus17h = DateAdd("h", 17, now())>
><cfoutput>
>    #DateFormat(plus17h, "dd/mm/yyyy")# #TimeFormat(plus17h,  
"HH:MM")#
></cfoutput>
>
>Andrew
>
>----- Original Message -----
>From: Seamus Campbell <[EMAIL PROTECTED]>
>Date: Wed, 22 Sep 2004 19:36:48 +1000
>Subject: Tiem Format problems
>To: CF-Talk <[EMAIL PROTECTED]>
>
>hi
>
> I'm trying to pull a date/time from a database then add 17 hours   

> to it and display in
>
> dd mmm yyyy h n
>
> format
>
> I thought I could add 17 hours to the date using DateAdd but this  


> seems to have problems with the format
> and
> I can't work out how to get the time to be plus 17 hours
>
> Or is there a way to add 17 hours to the date in the database?
>
> Help please
>
> Seamus
>
> Seamus Campbell   Boldacious WebDesign
> http://www.boldacious.com   ~~~~   [EMAIL PROTECTED]
> ph 02 6297 4883  mob 0410 609  
267________________________________
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to