<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: dates - InfoPath auto setting of a 4 digit year</title><link>https://www.infopathdev.com:443/forums/thread/80053.aspx</link><pubDate>Sat, 30 Jun 2012 17:29:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80053</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80053.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80053</wfw:commentRss><description>&lt;p&gt;The interpretation of two digit dates is a system setting that InfoPath respects (see attached).&lt;/p&gt;&lt;p&gt;You could have all your users change their system settings so that the current year is the cutoff year (however, they would have to update this every year and changing the setting to the current year could cause unwanted consequences for other progams).&lt;/p&gt;&lt;p&gt;Or you could come up with your own parsing logic, but that might be a nightmare.&lt;/p&gt;&lt;p&gt;Working around this by displaying dates with two digits is not a good idea, because the dates are stored internally with four digits and this could cause issues in the future.&lt;/p&gt;&lt;p&gt;My recommendation is to request that they enter four digit dates for years before 1930.&amp;nbsp; Sounds like they are trying to have their cake and eat it too.&lt;/p&gt;</description></item><item><title>dates - InfoPath auto setting of a 4 digit year</title><link>https://www.infopathdev.com:443/forums/thread/80052.aspx</link><pubDate>Sat, 30 Jun 2012 16:59:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80052</guid><dc:creator>karson6</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80052.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80052</wfw:commentRss><description>&lt;p&gt;In InfoPath 2010, I have date fields set with a format of mm/dd/yyyy.&amp;nbsp; A user enters the year using just the last two digits and InfoPath automatically converts it to a the 4 digit year.&amp;nbsp;&amp;nbsp;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;InfoPath is determining the&amp;nbsp;the first two digits of the year&amp;nbsp;to populate - this looks like a global setting for all forms.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;The threshold appears occur where 30 is entered as the year.&amp;nbsp; For example, if 5/1/29 is entered, InfoPath displays 05/01/2029.&amp;nbsp; If 5/1/30 is entered, InfoPath displays 05/01/1930.&amp;nbsp; Any two digit year entered between 30-99 is displayed with 19 preceding it, such as 1930 and 1999.&amp;nbsp; Any year entered between 00-29 is displayed with 20 preceding it, such as 2000 and 2029.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Is there a way to set how the first two digits of a four digit year are automatically populated?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Could I set it where if&amp;nbsp;the&amp;nbsp;two digits entered are equal to or greater than the current year, InfoPath sets the year using the current century?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;I know a workaround is to use a mm/dd/yy format but the users want a four digit year to display.&amp;nbsp; They also don&amp;#39;t want to be forced to type 4 digits in the field.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Thanks for any help!&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>