Can you use date arithmetic to do this?
  How about trying something like:

    Quarter(dateadd("d", -15, Now() ))


At 10:47 AM 01/02/2002 -0500, you wrote:
>If your logic is:
>
>1=4
>2=1
>3=2
>4=3
>
>Then just say:
>
><cfset Quarter = QuarterNow()-1>
><cfif not Quarter>
>         <cfset Quater = 4>
></cfif>
>>====================================================================
>Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
>
>Email    : [EMAIL PROTECTED]
>Yahoo IM : morpheus
>
>"My ally is the Force, and a powerful ally it is." - Yoda
>
> > -----Original Message-----
> > From: stas [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 02, 2002 10:42 AM
> > To: CF-Talk
> > Subject: Re: Quarter formula
> >
> >
> > Oh. hehe...
> >
> > Well, it doesn't fit our needs - today has to be interpreted
> > as the 4th
> > quarter. Our first quarter doesn't start until the 15th.
> >
> > Thanks though, I'll RTFM more before I ask again!
> >
> > ----- Original Message -----
> > From: "Raymond Camden" <[EMAIL PROTECTED]>
> >
> >
> >
> > Um, have you tried the BIF (built in function) Quarter? :)
> >
> > Quarter(Now())
> >
> >
> >
> >
> >
>
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to