<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>13日は何曜日?</title><link>http://blogs.technet.com/stanabe/archive/2008/06/16/what-day-is-the-13th.aspx</link><description>先週の金曜日って13日だったんですね。ということに週末気付き、曜日感覚というか日付感覚の無さが判明した次第です。 さて、過ぎてしまうと次が気になるもの。今後13日が金曜日になるのはいつなのか、Windows PowerShell を使って調べてみました。 まずは日付の取り扱いから。.NET Framework の DateTime 型を使うのが便利です。文字列から DateTime 型に変換すれば、日付特有の操作が簡単にできます。 文字列を DateTime 型にキャストしてみます。戻り値が DateTime</description><dc:language>ja-JP</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>13日の金曜日でした。</title><link>http://blogs.technet.com/stanabe/archive/2008/06/16/what-day-is-the-13th.aspx#3201706</link><pubDate>Fri, 13 Feb 2009 11:12:44 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3201706</guid><dc:creator>Shigeya Tanabe's blog</dc:creator><description>&lt;p&gt;13日の金曜日、いかがお過ごしでしょうか。 昨年、PowerShell を使って Outlook の予定を作成しておいたので、しっかり昨日から、アラームが表示されていました。半年越しの仕込みが日の目を見ましたので、ここに記しておきたいと思います。&lt;/p&gt;
</description></item></channel></rss>