<?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>Whaly&#039;s World &#187; datetime</title>
	<atom:link href="http://baleinoid.com/whaly/tag/datetime/feed/" rel="self" type="application/rss+xml" />
	<link>http://baleinoid.com/whaly</link>
	<description>tail -f /var/log/whaly</description>
	<lastBuildDate>Fri, 06 Apr 2012 21:28:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>The time separator</title>
		<link>http://baleinoid.com/whaly/2009/08/the-time-separator/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-time-separator</link>
		<comments>http://baleinoid.com/whaly/2009/08/the-time-separator/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 14:13:38 +0000</pubDate>
		<dc:creator>whaly</dc:creator>
				<category><![CDATA[Microsoft .NET]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[datetime]]></category>
		<category><![CDATA[locale]]></category>

		<guid isPermaLink="false">http://baleinoid.com/whaly/?p=55</guid>
		<description><![CDATA[is a common mystake if you want to transmit to someone or to be sure that you have something like "HH:mm:ss" because the character (:) is not just a colon, it's a time separator wich depend on the locale. Here is a list of culture where the (:) change into a dot (.) it-IT : [...]]]></description>
			<content:encoded><![CDATA[<pre class="brush: csharp; light: true; title: ; notranslate">DateTime.Now.ToString(&quot;HH:mm:ss&quot;);</pre>
<p>is a common mystake if you want to transmit to someone or to be sure that you have something like "HH:mm:ss" because the character (:) is not just a colon, it's a time separator wich depend on the locale.</p>
<p>Here is a list of culture where the (:) change into a dot (.)<br />
it-IT : Italian (Italy)<br />
fo-FO : Faroese (Faroe Islands)<br />
bn-BD : Bengali (Bangladesh)<br />
ml-IN : Malayalam (India)<br />
bn-IN : Bengali (India)</p>
<p>To workaround you can use CultureInfo.InvariantCulture or escape the colon character.</p>
<p>... and same story for the date separator "/" but this one is at this time the same for every culture.</p>
 <p><a href="http://baleinoid.com/whaly/wordpress/?flattrss_redirect&amp;id=55&amp;md5=326320167e13aacec5012858d4a7c90a" title="Flattr" target="_blank"><img src="http://baleinoid.com/whaly/wordpress/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://baleinoid.com/whaly/2009/08/the-time-separator/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=whaly&amp;popout=1&amp;url=http%3A%2F%2Fbaleinoid.com%2Fwhaly%2F2009%2F08%2Fthe-time-separator%2F&amp;language=en_GB&amp;category=text&amp;title=The+time+separator&amp;description=is+a+common+mystake+if+you+want+to+transmit+to+someone+or+to+be+sure+that+you+have+something+like+%22HH%3Amm%3Ass%22+because+the+character+%28%3A%29+is+not+just+a+colon%2C...&amp;tags=c%23%2Cdatetime%2Clocale%2Cblog" type="text/html" />
	</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: baleinoid.com @ 2012-05-22 06:46:43 -->
