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.

Reply via email to