<?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>UC&#039;s Corner &#187; c#</title>
	<atom:link href="http://yussi.nl/index.php/category/c/feed" rel="self" type="application/rss+xml" />
	<link>http://yussi.nl</link>
	<description>Yussi Ariefiyono</description>
	<lastBuildDate>Fri, 25 Jun 2010 12:57:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>substract datetime in c#</title>
		<link>http://yussi.nl/index.php/substract-datetime-in-c.html</link>
		<comments>http://yussi.nl/index.php/substract-datetime-in-c.html#comments</comments>
		<pubDate>Wed, 13 Aug 2008 16:58:00 +0000</pubDate>
		<dc:creator>yussi ariefiyono</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">/post/substract-datetime-in-c.aspx</guid>
		<description><![CDATA[
Problem:
Substraction datetime in c#, in this case from textboxes


Solution:
DateTime _Text1 = DateTime.Parse(Text1.Text);
DateTime _Text2 = DateTime.Parse(Text2.Text);
System.TimeSpan result = _Text1 &#8211; _Text2 ;


Response.Write(result.TotalDays); &#8211;&#62; display the total days diffrence
]]></description>
			<content:encoded><![CDATA[<p>
<strong>Problem:</strong><br />
Substraction datetime in c#, in this case from textboxes
</p>
<p>
<strong>Solution:</strong><br />
DateTime _Text1 = DateTime.Parse(Text1.Text);<br />
DateTime _Text2 = DateTime.Parse(Text2.Text);<br />
System.TimeSpan result = _Text1 &#8211; _Text2 ;
</p>
<p>
Response.Write(result.TotalDays); &#8211;&gt; display the total days diffrence</p>
]]></content:encoded>
			<wfw:commentRss>http://yussi.nl/index.php/substract-datetime-in-c.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
