Cause I love me some REgExp :)

<cfoutput>

<!--- Works on 2:2:2 digit format. --->
#TimeFormat(
  REReplace( "154100", "([0-9]{2})([0-9]{2})([0-9]{2})", "\1:\2:\3", "ONE"
),
  "h:mm TT"
  )#

</cfoutput> 


.......................
Ben Nadel 
www.bennadel.com

-----Original Message-----
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 10, 2006 10:44 PM
To: CF-Talk
Subject: One more TIME conversion

Ok, I got the date working good .. now I need to convert TIME

I need to figure out how to take 154100 to > 3:41 PM

OR 

061800  = 6:18 AM



Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240203
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to