Ah, thanks ... That make a lot more sense. Thanks for the help,
- Charles On 7/27/05 10:04 AM, "Ian Skinner" <[EMAIL PROTECTED]> wrote: > 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 > .... > .... > .... > .... > .... > .... > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213028 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