Ryan in addition to "" you can't have the # signs inside you function
 
#DateDiff("d", DateFormat(dateComplete,"mm/dd/yyyy"), Now())#

 
On 1/12/06, lem <[EMAIL PROTECTED]> wrote:
Make sure your d is in quotes.  "d"

I have this working in several places.

Lem




-----Original Message-----
From: "Ray Hughes" <[EMAIL PROTECTED]>
To: [email protected]
Date: Thu, 12 Jan 2006 09:49:19 -0600
Subject: [DFW CFUG] DateDiff specifier problem

> Hi All,
>
> I am missing something.
>
> The Cf books state: #DateDiff(specifier, date1, date2)#
>
> I am trying to find the number of days between date1 and date2.
>
> Example:
>
> #DateDiff(d, #DateFormat(dateComplete,"mm/dd/yyyy")#, Now())#
>
> What am I doing wrong?
>
> I receive
>
> "Missing argument name.
> When using named parameters to a function, every parameter must have a
> name."
>
> when I try to run this.
>
>
> I understand that the specifier has to be there but I am probably not
> speaking Cf correctly.
>
> Thanks A Bunch
> Ray HUghes
>
> _________________________________________________________________
> Is your PC infected? Get a FREE online computer virus scan from McAfee®
> Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> _______________________________________________
> Reply to DFWCFUG:
>   [email protected]
> Subscribe/Unsubscribe:
>   http://lists1.safesecureweb.com/mailman/listinfo/list
> List Archives:
>     http://www.mail-archive.com/list%40list.dfwcfug.org/
>   http://www.mail-archive.com/list%40dfwcfug.org/
> DFWCFUG Sponsors:
>   www.HostMySite.com
>   www.teksystems.com/



_______________________________________________
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
   http://www.mail-archive.com/list%40list.dfwcfug.org/
http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
www.HostMySite.com
www.teksystems.com/



--
Ryan Everhart
[EMAIL PROTECTED]
_______________________________________________
Reply to DFWCFUG: 
  [email protected]
Subscribe/Unsubscribe: 
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: 
    http://www.mail-archive.com/list%40list.dfwcfug.org/             
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: 
  www.HostMySite.com 
  www.teksystems.com/

Reply via email to