You can supply negative numbers to DateAdd...

DateAdd("d", "-1", Now())

Subtracts a day from Today.

Jeff
  ----- Original Message -----
  From: Dwayne Cole
  To: CF-Talk
  Sent: Wednesday, October 15, 2003 4:32 PM
  Subject: DateSubtract Like DateAdd?

  How about a dateSubtract function? Does anyone know it there is a function similar to the dateAdd Function that instead adding specified number of days or months it actually subtracts a specified number of days or months.  I checked cflib.org but I could not find anything.   

  Dwayne Cole, MS in MIS, MBA
  Florida A&M University
  Certified Advanced ColdFusion Developer
  850-591-0212


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to