Im fairly new to ColdFusion and somone From EasyCFM pointed me here. Im making a custom application for my open-source site that has to do with pop3. Im having trouble formating the date, or even getting it to show up correctly. I was wondering if somone could tell me what im doing wrong and how to do it write. I was first told to use DateFormat with ParseDateTime and then to use just ParseDateTime().
Here is the code that is relevent to the Area I am talking about!
<td width="88" align="center" valign="middle"><div align="center"> #parseDateTime(#qGetMessages.date#, "mm/dd/yyyy") #mm/dd/yyyy##</div></td>
Am I formatting it correctly!? Should I use that in conjuction as an arguement for DateFormat!? Im confused. So many people tell me so many things. I have the original code I was using for it, which was actually a regular _expression_. But I dont know how to change the regular _expression_ into a mm/dd/yyyy format.
#reReplace(left(qGetMessages.date, 21), "^(.* ).*", "\1")#
Either way is fine with me if you can help me code it.
Thank You.
Jordon Bedwell
Cybercom Pros
(Design Is Only as Good as your bad planning, because planning is bad in design)
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

