<?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: Using functions to return date in US format</title><link>https://www.infopathdev.com:443/forums/thread/14452.aspx</link><pubDate>Sat, 08 Apr 2006 07:46:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14452</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14452.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14452</wfw:commentRss><description>Hi Jim Dandy,&lt;br /&gt;I think there is some script code in some of the 25 sample forms that come with InfoPath which manipulate the dates. Open Meeting Agenda and extract the form files to a file. Open the script.js files and search for date functions. That's a start.</description></item><item><title>Re: Using functions to return date in US format</title><link>https://www.infopathdev.com:443/forums/thread/14451.aspx</link><pubDate>Fri, 07 Apr 2006 16:30:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14451</guid><dc:creator>JimDandy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14451.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14451</wfw:commentRss><description>How would I rearrange the date in my transform?</description></item><item><title>Re: Using functions to return date in US format</title><link>https://www.infopathdev.com:443/forums/thread/14450.aspx</link><pubDate>Tue, 04 Apr 2006 08:03:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14450</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14450.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14450</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;It's an XML specification the date is always send by a date picker in this format (YYYY-mm-DD) so the only things to made is transform to rearrange it!&lt;br /&gt;&lt;br /&gt;But if in your schema this field is define as datetime this would be make an error if you tra to validate after have make the transform!&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry</description></item><item><title>Using functions to return date in US format</title><link>https://www.infopathdev.com:443/forums/thread/12833.aspx</link><pubDate>Mon, 03 Apr 2006 22:10:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12833</guid><dc:creator>JimDandy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12833.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12833</wfw:commentRss><description>I have a Data Connection configured to submit an e-mail message with the filled out form attached and I want to include data from the date field in my message subject however, the date field always comes across in the format YYYY-MM-DD. I#%92d like it to be MM-DD-YYYY if possible but I#%92m not much of a function coder. &lt;br /&gt;&lt;br /&gt;On the form, I use a text field in my data source to capture the date from a Date Picker control. In the control, I have set the format so it shows the weekday  as well as the year and this works fine when displayed on the form but that format does not follow across to the data connection I#%92ve configured. &lt;br /&gt;&lt;br /&gt;Is there an option I can set to give me the proper format in the Data Connection or do I need to use a series of text functions to cut the date field apart and rearrange it the way I want it?  &lt;br /&gt;</description></item></channel></rss>