Because dateformat only formats DATES not TIMES.  So the MM in your time 
portion stands for the two digit MONTH number, not MINUTES; so that '07' is for 
July.

It's a bit annoying, but you need to do #dateFormat(...)##timeFormat(...)# to 
get what you want.  I would not be surprised if there is not a UDF out there 
that combines this, but I have not been annoyed enough to look for it yet.

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

....-----Original Message-----
....From: Charles Heizer [mailto:[EMAIL PROTECTED]
....Sent: Wednesday, July 27, 2005 10:01 AM
....To: CF-Talk
....Subject: Dateformat question
....
....Hello,
....Can someone please tell me why the time is not correct if I use
....DateFormat;
....for some reason it's off by 47 minutes.
....
....Thanks,
....- Charles
....
....Example...
....
....#DateFormat(Now(), "DD-MM-YYYY HH:MM:ss")# = 27-07-2005 09:07:47
....#DateFormat(Now(),"DD-MM-YYYY")# #TimeFormat(Now(),"HH:mm:ss")# = 27-07-
....2005
....09:54:47
....
....
....
....
....
....

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213015
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to