After reading through the CFPOP documentation, it doesn't appear that you can control the sort order. I believe you can use ParseDateTime to convert the date-time value to something that DateFormat can work with. IE: DateFormat(ParseDateTime(popdate), "dd/mm/yyyy") Hope this helps. ---mark -------------------------------------------------------------- Mark Warrick Phone: (714) 547-5386 Efax.com Fax: (801) 730-7289 Personal Email: [EMAIL PROTECTED] Personal URL: http://www.warrick.net Business Email: [EMAIL PROTECTED] Business URL: http://www.fusioneers.com ICQ: 346566 -------------------------------------------------------------- > -----Original Message----- > From: Kevin Queen [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 19, 2000 1:35 PM > To: CF-Talk > Subject: CFPOP > > > List, > I am currently trying to create an e-mail client. I have a couple of > questions that I thought were easy but... First, is there a way to reverse > the message header order, I am currently getting the oldest > message first, I > would like to display the newest first. Secondly, I would like to format > the date down to just dd/mm/yyyy but the dateformat function will > not work, > am I going to have to trim out the extra information? > TIA, > Kevin Queen > > ------------------------------------------------------------------ > ------------------------------ > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists > or send a message with 'unsubscribe' in the body to > [EMAIL PROTECTED] ------------------------------------------------------------------------------------------------ Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebarRsts or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]