House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

TimeFormat

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Try -
Scott Stroz
03/25/09 03:55 P
Perfect Scott, Thanks
Steve LaBadie
03/25/09 04:00 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Steve LaBadie
03/25/2009 03:45 PM

I have an XML file that is generating a time span of 7:00 AM - 7:00 PM. Is there a way to print this to the screen? For my current code to work I have to physically remove the trailing time stamp. <cfset time = #objRSS.rss.channel.item[i].time.xmltext# /> <cfset time1 = #TimeFormat(time, "h:mm")# /> <cfoutput>#time#</cfoutput> Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 http://www.esu.edu slabadie@po-box.esu.edu

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Scott Stroz
03/25/2009 03:55 PM

Try - <cfset time1 = listFirst(time, "-") /> On Wed, Mar 25, 2009 at 3:34 PM, Steve LaBadie <slabadie@po-box.esu.edu>wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Steve LaBadie
03/25/2009 04:00 PM

Perfect Scott, Thanks Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 http://www.esu.edu slabadie@po-box.esu.edu Try - <cfset time1 = listFirst(time, "-") /> Steve LaBadie <slabadie@po-box.esu.edu>


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

December 20, 2014

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Designer, Developer and mobile workflow conference