I'm not quite sure what you are asking. Are you trying to determine if
you are on the first day of the month?

<cfif day(now()) is 1>
        It's the 1st. Arm the Star Destroyers
</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: Joel Blanchette [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, February 28, 2002 3:11 PM
> To: CF-Talk
> Subject: Date Function
> 
> 
> Hello All,
>       Here is a good one.  I have been thinking about this for a while
> and I can not figure it out!
> 
> I am doing a schedule thing and I need to see if let's say at the time
> it goes, if we are the 1st of the month to get yesterday's date.  So I
> cab take that and format it with dateformat
> 
> Does anyone know how this would be accomplished?
> 
> Thanks,
> 
> Joel
> 
> 
______________________________________________________________________
Why Share?
  Dedicated Win 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=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to