<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Error when getting system date from Date Object</title><link>https://www.infopathdev.com:443/forums/thread/26958.aspx</link><pubDate>Tue, 04 Mar 2008 00:03:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26958</guid><dc:creator>KoopLaFez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26958.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26958</wfw:commentRss><description>&lt;p&gt;Thanks Clay.&amp;nbsp; Setting the default to today() did the trick.&amp;nbsp; For some reason I always try to do things the hard way...&lt;/p&gt;</description></item><item><title>Re: Error when getting system date from Date Object</title><link>https://www.infopathdev.com:443/forums/thread/26955.aspx</link><pubDate>Mon, 03 Mar 2008 23:51:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26955</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26955.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26955</wfw:commentRss><description>&lt;p&gt;You might look at getdate(0 or whatever the jscript command for the current date.&lt;/p&gt;
&lt;p&gt;Another option is just create a field that defaults to today() then just pull from that.&lt;/p&gt;</description></item><item><title>Error when getting system date from Date Object</title><link>https://www.infopathdev.com:443/forums/thread/26952.aspx</link><pubDate>Mon, 03 Mar 2008 22:33:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26952</guid><dc:creator>KoopLaFez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26952.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26952</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to get the current system date using the Today method of the Date object.&amp;nbsp; I took the following code right from the example in the help file:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;var currentDate = XDocument.Util.Date.Today();&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;But when I try to run it, I get the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;Variable uses an Automation type not supported JScript&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;</description></item></channel></rss>