You can get the diff in minutes, and do the math to get the number of
days, hours, and minutes.
-David

On Sat, 29 Apr 2000 19:02:01 -0400 "Jeff Fongemie" <[EMAIL PROTECTED]>
writes:
> 
> I use the following to display how many days until an event date. It 
> only
> shows how many days. Is there a way to get it to display how many 
> days,
> hours and minutes until the event? It seems I can only get it to 
> display
> only days, or only minutes, only seconds ect.
> 
> <cfset eventdate = CreateDate(2000, 5, 15)>
>           <cfset countdown = '#DateDiff('d', now(), eventdate)# More 
> Days'>
>         </p>
>         <div align="center">
>           <cfif countdown is '0 Days'>
>             <cfset countdown = '#DateDiff('h', now(), eventdate)# 
> Hours'>
>           </cfif>
>           <cfoutput>
> 
> Thanks for any help on this
> Jeff Fongemie
> 
>
-------------------------------------------------------------------------
-----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit 
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk

> or send a message to [EMAIL PROTECTED] with 
> 'unsubscribe' in the body.

________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to