Just to confirm this, I get 04 also...

-----Original Message-----
From: Phillip Broussard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 8:16 AM
To: CF-Talk
Subject: whats wrong with DateFormat()


Ok I put DateFormat(day(now()), 'dd') on a page and instead of returning
05 it gave me 04.
If I put day(now()) on a page I get 5.
If I put day(5) on a page I get 4.
If I put DateFormat(now(), 'yyyymmdd') on a page I get 20020305

Why?

TAI

Phillip Broussard
Tracker Marine Group
417-873-5957



______________________________________________________________________
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=coldfusiona
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