<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6.1 - htmldocs - funca107.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-26T07:11:59</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#27352" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#26359" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#21628" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#21627" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#20580" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#20544" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#27352">
		<title>coldfusion/6.1/htmldocs/funca107.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#27352</link>
		<description>function getTime () {&lt;br /&gt; var time = new Date();&lt;br /&gt; var hour = time.getHours();&lt;br /&gt; var minute = time.getMinutes();&lt;br /&gt; var second = time.getSeconds();&lt;br /&gt; var temp = &quot;&quot;+((hour&gt;12) ? hour-12 : hour);&lt;br /&gt; temp += ((minute&lt;10) ? &quot;:0&quot; : &quot;:&quot;)+minute;&lt;br /&gt; temp += ((second&lt;10) ? &quot;:0&quot; : &quot;:&quot;)+second;&lt;br /&gt; temp += (hour&gt;=12) ? &quot; P.M.&quot; : &quot; A.M.&quot;;&lt;br /&gt; &lt;br /&gt; return temp;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Place an instance of this new symbol on the main Timeline of the movie. &lt;br /&gt;Select the new movie clip instance, and open the Actions panel (Window &gt; Actions) if it's not already open. &lt;br /&gt;Enter the following script into the Actions panel: onClipEvent (enterFrame) {&lt;br /&gt; time = getTime();&lt;br /&gt;}</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-02-02T19:39:42</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#26359">
		<title>coldfusion/6.1/htmldocs/funca107.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#26359</link>
		<description>Is there a way to either display the current user's clock time or to add and subtract hours from the server's time?  For example, I live in Arizona with no DST, it would be prefered to display Arizona Standard Time without having the server reside in AZ.  &lt;br /&gt;&lt;br /&gt;Currently, the server resides in MN, which is currently 1 hour ahead of me, but does have DST.  The only other option tis to display current user time, but I don't know how to do any of these.</description>
		<dc:creator>blricks</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-01-10T09:14:50</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#21628">
		<title>coldfusion/6.1/htmldocs/funca107.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#21628</link>
		<description>Should have been...&lt;br /&gt;&lt;br /&gt;l - two digit milisecond display.&lt;br /&gt;L - three digit milisecond display.&lt;br /&gt;&lt;br /&gt;Sorry.</description>
		<dc:creator>Damien@Limu</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-09-22T10:15:47</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#21627">
		<title>coldfusion/6.1/htmldocs/funca107.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#21627</link>
		<description>l - two digit milisecond display.&lt;br /&gt;L - two digit milisecond display.&lt;br /&gt;&lt;br /&gt;That caught me up when I was inserting into a fixed-width display and used &quot;L&quot; instead of &quot;l&quot;.&lt;br /&gt;&lt;br /&gt;Damien</description>
		<dc:creator>Damien@Limu</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-09-22T10:15:01</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#20580">
		<title>coldfusion/6.1/htmldocs/funca107.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#20580</link>
		<description>Spage is correct in that the format he shows will not work for the desired output. Also, he is using an undocumented and unsupported characteristic of TimeFormat, the ability to specify a date mask. (You cannot do a similar thing with DateFormat). The recommended way to get the desired string is by concatenating a DateFormat function, the character T, and a TimeFormat function, as in the following lines:&lt;br&gt;&lt;br&gt;as a variable:&lt;br&gt;&lt;cfset foo=dateformat(now(), &quot;yyyy-mm-dd&quot;) &amp; &quot;T&quot; &amp; TimeFormat(now(), &quot;HH:mm:ss&quot;)&gt;&lt;br&gt;&lt;br&gt;for output:&lt;br&gt;&lt;cfoutput&gt;#dateformat(now(), &quot;yyyy-mm-dd&quot;)#T#TimeFormat(now(), &quot;HH:mm:ss&quot;)#&lt;/cfoutput&gt;</description>
		<dc:creator>halL</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2004-08-26T12:18:42</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#20544">
		<title>coldfusion/6.1/htmldocs/funca107.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca107.htm#20544</link>
		<description>You can't generate a standard  ISO 8601 W3C Date and Time string like 1997-07-16T19:20;&lt;br /&gt;If you use yyyy-MM-ddTHH:mm:ss the 'T' turns into A for am or P for pm, and there's no way to escape or quote a 'T' in the middle of a string as far as I can tell. :-(</description>
		<dc:creator>spage</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-08-25T20:39:53</dc:date>
	</item>
	</rdf:RDF>

