<?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: InfoPath TimeZone Conversion Code</title><link>https://www.infopathdev.com:443/forums/thread/73388.aspx</link><pubDate>Mon, 02 Jan 2012 06:08:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73388</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73388.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=73388</wfw:commentRss><description>&lt;p&gt;Hi Olsen9 and welcome,&lt;/p&gt;&lt;p&gt;Good issue. We have often thought about adding some functions to qRules to handle conversion. Maybe we will in the future. In the meantime, you wilol have to write some code using .NET to get the current timezone and do the conversion. I suggest going to MSDN and searching for some .NET code. &lt;/p&gt;&lt;p&gt;If you&amp;#39;d like to have one of our MVPs do this for you, we&amp;#39;d be happy to write the code and give you the source but we will need to get paid for our time. I&amp;#39;m guessing an hour should be sufficient. Here&amp;#39;s a link to our Support page where you can buy an hour of support. &lt;a href="http://www.qdabra.com/webstore/category/4-support-consultation.aspx"&gt;http://www.qdabra.com/webstore/category/4-support-consultation.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>InfoPath TimeZone Conversion Code</title><link>https://www.infopathdev.com:443/forums/thread/73287.aspx</link><pubDate>Tue, 27 Dec 2011 18:41:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73287</guid><dc:creator>olsen9</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73287.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=73287</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m looking for assistance for the following:&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve created a time of receipt date picker field in InfoPath&amp;nbsp;that stores the date and time when a form was submitted.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m looking to create custom code in the button that converts the time of receipt (Time Only) and converts that time to CST time.&lt;/p&gt;
&lt;p&gt;I will get many requests via InfoPath from EST, PST, MTD etc though the reason for this is to then calculate whether the request was handled within SLA.&lt;/p&gt;
&lt;p&gt;If a request is sent at 4pm est, i will add 1 day to the Date Received field to check against SLA.&lt;/p&gt;
&lt;p&gt;I think I&amp;#39;m ok with the SLA calculation, its the converting of time to CST is the issue.&lt;br /&gt;Thank you.&lt;/p&gt;</description></item></channel></rss>