<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>datechooser &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/datechooser/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>Flex 3 DateChooser UTC issue</title>
		<link>/2009/05/20/flex-3-datechooser-utc-issue/</link>
		<comments>/2009/05/20/flex-3-datechooser-utc-issue/#comments</comments>
		<pubDate>Wed, 20 May 2009 06:11:21 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[flex 3]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[datechooser]]></category>
		<category><![CDATA[getTime]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[unix timestamp]]></category>
		<category><![CDATA[UTC]]></category>

		<guid isPermaLink="false">/?p=572</guid>
		<description><![CDATA[What I intend to do The task can be described as it is. There&#8217;s a Flex 3 DateChooser component integrated with a custom timeline component. The problem occurs when exporting the data from the flash to the browser. Than I write the unix timestamp to the url of the browser. Of course I&#8217;m using date.getTime() &#8230; <a href="/2009/05/20/flex-3-datechooser-utc-issue/" class="more-link">Continue reading <span class="screen-reader-text">Flex 3 DateChooser UTC issue</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2009/03/01/download-custom-flex-3-datechooser-2/" rel="bookmark" title="Download Custom Flex 3 DateChooser">Download Custom Flex 3 DateChooser </a></li>
<li><a href="/2009/03/01/flex-3-custom-datechooser-2/" rel="bookmark" title="Flex 3 Custom DateChooser">Flex 3 Custom DateChooser </a></li>
<li><a href="/2009/02/06/flex-3-custom-preloader/" rel="bookmark" title="Flex 3 Custom Preloader">Flex 3 Custom Preloader </a></li>
<li><a href="/2009/04/25/flex-3-hslider-thumb-gap-issue/" rel="bookmark" title="Flex 3 HSlider thumb gap issue">Flex 3 HSlider thumb gap issue </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>What I intend to do</h2>
<p style="text-align: left;">The task can be described as it is. There&#8217;s a Flex 3 DateChooser component integrated with a custom timeline component. The problem occurs when exporting the data from the flash to the browser. Than I write the unix timestamp to the url of the browser. Of course I&#8217;m using date.getTime() in Flex.</p>
<p style="text-align: center;"><a href="/wp-content/uploads/2009/05/datechooser-issue.png"><img class="aligncenter size-medium wp-image-573" title="datechooser-issue" src="/wp-content/uploads/2009/05/datechooser-issue-300x120.png" alt="" width="430" srcset="/wp-content/uploads/2009/05/datechooser-issue-300x120.png 300w, /wp-content/uploads/2009/05/datechooser-issue.png 647w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<h2>getTime()</h2>
<p>Applying getTime() to any object of type Date in Flex results in a unix timestamp with included milliseconds. Of course the server side technology which in our case is PHP should devide by 1000 to remove the milliseconds. <span id="more-572"></span></p>
<h2>The problem</h2>
<p>The database and the server side script language use a UTC dates. The problem is the Flash functions getFullYear, getMonth, etc. don&#8217;t deal with UTC. Of course you can switch to getUTCFullYear, getUTCMonth, etc. but than comes the real problem.</p>
<h2>The DateChooser &#8230;</h2>
<p>When you&#8217;re using dates in Flex with no UTC in mind everything&#8217;s OK. You have the DateChooser component. Clicking on the 16th of May 2009 results in</p>
<blockquote><p>Alert.show(date.toString());</p></blockquote>
<p>which prints 16th of May 2009, which appears to be OK. Yes but the date.getTime() is still using the non-UTC time. If you&#8217;re using UTC, and suddenly print that kind of a message:</p>
<blockquote><p>Alert.show(date.toUTCString());</p></blockquote>
<p>Then for 16th of May 2009 you receive 15th of May 2009. Which is really bad.</p>
<h2>No workaround</h2>
<p>Unfortunately I didn&#8217;t find any workaround till now. I hope I&#8217;ll soon.</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2009/03/01/download-custom-flex-3-datechooser-2/" rel="bookmark" title="Download Custom Flex 3 DateChooser">Download Custom Flex 3 DateChooser </a></li>
<li><a href="/2009/03/01/flex-3-custom-datechooser-2/" rel="bookmark" title="Flex 3 Custom DateChooser">Flex 3 Custom DateChooser </a></li>
<li><a href="/2009/02/06/flex-3-custom-preloader/" rel="bookmark" title="Flex 3 Custom Preloader">Flex 3 Custom Preloader </a></li>
<li><a href="/2009/04/25/flex-3-hslider-thumb-gap-issue/" rel="bookmark" title="Flex 3 HSlider thumb gap issue">Flex 3 HSlider thumb gap issue </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2009/05/20/flex-3-datechooser-utc-issue/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Download Custom Flex 3 DateChooser</title>
		<link>/2009/03/01/download-custom-flex-3-datechooser-2/</link>
		<comments>/2009/03/01/download-custom-flex-3-datechooser-2/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 08:51:29 +0000</pubDate>
		<dc:creator><![CDATA[stoimen]]></dc:creator>
				<category><![CDATA[download]]></category>
		<category><![CDATA[flex 3]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[custom datechooser]]></category>
		<category><![CDATA[datechooser]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">/?p=259</guid>
		<description><![CDATA[To download the date chooser source: click here Please, provide any feedback about the datechooser and feature requests. I&#8217;ll put the component documentation soon.<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2009/03/01/flex-3-custom-datechooser-2/" rel="bookmark" title="Flex 3 Custom DateChooser">Flex 3 Custom DateChooser </a></li>
<li><a href="/2009/02/06/flex-3-custom-preloader/" rel="bookmark" title="Flex 3 Custom Preloader">Flex 3 Custom Preloader </a></li>
<li><a href="/2009/05/20/flex-3-datechooser-utc-issue/" rel="bookmark" title="Flex 3 DateChooser UTC issue">Flex 3 DateChooser UTC issue </a></li>
<li><a href="/2009/03/04/flex-3-custom-preloader-download/" rel="bookmark" title="Flex 3 Custom Preloader Download">Flex 3 Custom Preloader Download </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>To <a title="Flex 3 Custom DateChooser download" href="/wp-content/uploads/2009/02/calendarmxml.zip">download</a> the date chooser source: <a title="Flex 3 Custom DateChooser download" href="/wp-content/uploads/2009/02/calendarmxml.zip">click here</a></p>
<p>Please, provide any feedback about the datechooser and feature requests.</p>
<p>I&#8217;ll put the component documentation soon.</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2009/03/01/flex-3-custom-datechooser-2/" rel="bookmark" title="Flex 3 Custom DateChooser">Flex 3 Custom DateChooser </a></li>
<li><a href="/2009/02/06/flex-3-custom-preloader/" rel="bookmark" title="Flex 3 Custom Preloader">Flex 3 Custom Preloader </a></li>
<li><a href="/2009/05/20/flex-3-datechooser-utc-issue/" rel="bookmark" title="Flex 3 DateChooser UTC issue">Flex 3 DateChooser UTC issue </a></li>
<li><a href="/2009/03/04/flex-3-custom-preloader-download/" rel="bookmark" title="Flex 3 Custom Preloader Download">Flex 3 Custom Preloader Download </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2009/03/01/download-custom-flex-3-datechooser-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Flex 3 Custom DateChooser</title>
		<link>/2009/03/01/flex-3-custom-datechooser-2/</link>
		<comments>/2009/03/01/flex-3-custom-datechooser-2/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 08:48:55 +0000</pubDate>
		<dc:creator><![CDATA[stoimen]]></dc:creator>
				<category><![CDATA[featured]]></category>
		<category><![CDATA[flex 3]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[custom datechooser]]></category>
		<category><![CDATA[datechooser]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[mxml]]></category>

		<guid isPermaLink="false">/?p=256</guid>
		<description><![CDATA[I searched so much about a custom DateChooser component in Flex 3, that I decided to make one by myself. My criteria is to have ComboBoxes for both months and years. I simply merged the ComboBox component with DateChooser and there is the beta release. Please fill free to comment and report any bugs or &#8230; <a href="/2009/03/01/flex-3-custom-datechooser-2/" class="more-link">Continue reading <span class="screen-reader-text">Flex 3 Custom DateChooser</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2009/03/01/download-custom-flex-3-datechooser-2/" rel="bookmark" title="Download Custom Flex 3 DateChooser">Download Custom Flex 3 DateChooser </a></li>
<li><a href="/2009/02/06/flex-3-custom-preloader/" rel="bookmark" title="Flex 3 Custom Preloader">Flex 3 Custom Preloader </a></li>
<li><a href="/2009/05/20/flex-3-datechooser-utc-issue/" rel="bookmark" title="Flex 3 DateChooser UTC issue">Flex 3 DateChooser UTC issue </a></li>
<li><a href="/2009/03/05/flex-3-combobox-disabled-options/" rel="bookmark" title="Flex 3 ComboBox disabled options">Flex 3 ComboBox disabled options </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>I searched so much about a custom DateChooser component in Flex 3, that I decided to make one by myself. My criteria is to have ComboBoxes for both months and years. I simply merged the ComboBox component with DateChooser and there is the beta release. Please fill free to comment and report any bugs or feature requests.</p>
<p>Demo is here:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="450" height="190" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="name" value="map" /><param name="bgcolor" value="#ffffff" /><param name="align" value="middle" /><param name="src" value="/wp-content/uploads/2009/02/calendar.swf" /><param name="wmode" value="transparent" /><embed type="application/x-shockwave-flash" width="450" height="190" src="/wp-content/uploads/2009/02/calendar.swf" wmode="transparent" align="middle" bgcolor="#ffffff" name="map"></embed></object></p>
<p>Free download: <a title="Flex 3 Custom DateChooser download" href="/2009/03/01/download-custom-flex-3-datechooser-2/">here<br />
</a></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2009/03/01/download-custom-flex-3-datechooser-2/" rel="bookmark" title="Download Custom Flex 3 DateChooser">Download Custom Flex 3 DateChooser </a></li>
<li><a href="/2009/02/06/flex-3-custom-preloader/" rel="bookmark" title="Flex 3 Custom Preloader">Flex 3 Custom Preloader </a></li>
<li><a href="/2009/05/20/flex-3-datechooser-utc-issue/" rel="bookmark" title="Flex 3 DateChooser UTC issue">Flex 3 DateChooser UTC issue </a></li>
<li><a href="/2009/03/05/flex-3-combobox-disabled-options/" rel="bookmark" title="Flex 3 ComboBox disabled options">Flex 3 ComboBox disabled options </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2009/03/01/flex-3-custom-datechooser-2/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Flex 3 Custom Preloader</title>
		<link>/2009/02/06/flex-3-custom-preloader/</link>
		<comments>/2009/02/06/flex-3-custom-preloader/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 06:26:33 +0000</pubDate>
		<dc:creator><![CDATA[stoimen]]></dc:creator>
				<category><![CDATA[featured]]></category>
		<category><![CDATA[flex 3]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[core.Application]]></category>
		<category><![CDATA[custom datechooser]]></category>
		<category><![CDATA[datechooser]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[flash stage]]></category>
		<category><![CDATA[preloader]]></category>

		<guid isPermaLink="false">/?p=134</guid>
		<description><![CDATA[Before to start I&#8217;ll put a link to my post with download and sample of a custom preloader you can use in your applications: /2009/02/25/flex-3-custom-preloader-download/ If there&#8217;s a problem with making a custom flex 3 preloader, there is the solution. The problem after that is to place it at the center of the stage. But &#8230; <a href="/2009/02/06/flex-3-custom-preloader/" class="more-link">Continue reading <span class="screen-reader-text">Flex 3 Custom Preloader</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2009/03/04/flex-3-custom-preloader-download/" rel="bookmark" title="Flex 3 Custom Preloader Download">Flex 3 Custom Preloader Download </a></li>
<li><a href="/2009/03/01/flex-3-custom-datechooser-2/" rel="bookmark" title="Flex 3 Custom DateChooser">Flex 3 Custom DateChooser </a></li>
<li><a href="/2009/03/01/download-custom-flex-3-datechooser-2/" rel="bookmark" title="Download Custom Flex 3 DateChooser">Download Custom Flex 3 DateChooser </a></li>
<li><a href="/2009/03/15/download-flex-3-bitmap-with-round-corners/" rel="bookmark" title="Download Flex 3 bitmap with round corners">Download Flex 3 bitmap with round corners </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Before to start I&#8217;ll put a link to my post with download and sample of a custom preloader you can use in your applications: <a title="flex 3 custom preloader" href="/2009/03/04/flex-3-custom-preloader-download/">/2009/02/25/flex-3-custom-preloader-download/</a></p>
<p>If there&#8217;s a problem with making a custom flex 3 preloader, <a href="http://onflash.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php">there</a> is the solution. The problem after that is to place it at the center of the stage. But there is a solution again. Just because the Application is not available yet, doesn&#8217;t mean that the preloader cannot be positioned correctly.</p>
<p>Just don&#8217;t forget to use the stage.width and height properties, as shown in the example, and use that after added on stage event is fired.</p>
<p>Look carefully at the example!</p>
<p>I recently posted a sample with free donwload of custom datechooser. The sample can be found on:</p>
<p><a href="/2009/02/25/flex-3-custom-datechooser/">/2009/02/25/flex-3-custom-datechooser/</a></p>
<p>and the source can be downloaded here:</p>
<p><a href="/2009/02/25/download-custom-flex-3-datechooser/">/2009/02/25/download-custom-flex-3-datechooser/</a></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2009/03/04/flex-3-custom-preloader-download/" rel="bookmark" title="Flex 3 Custom Preloader Download">Flex 3 Custom Preloader Download </a></li>
<li><a href="/2009/03/01/flex-3-custom-datechooser-2/" rel="bookmark" title="Flex 3 Custom DateChooser">Flex 3 Custom DateChooser </a></li>
<li><a href="/2009/03/01/download-custom-flex-3-datechooser-2/" rel="bookmark" title="Download Custom Flex 3 DateChooser">Download Custom Flex 3 DateChooser </a></li>
<li><a href="/2009/03/15/download-flex-3-bitmap-with-round-corners/" rel="bookmark" title="Download Flex 3 bitmap with round corners">Download Flex 3 bitmap with round corners </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2009/02/06/flex-3-custom-preloader/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
