﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » Updates and Information » StrataFrame Users Contributed Samples  » Datetime issue</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 05 Apr 2026 13:23:10 GMT</lastBuildDate><ttl>20</ttl><item><title>Datetime issue</title><link>http://forum.strataframe.net/FindPost32429.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;&lt;div&gt;I am using strataframe datebox control and BO in a maintenance form. The datebox is bound to BO and datetime field of it.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;when I enter March 26, 2002 in the datebox and saved, it is save as March 26, 2002 in the database.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;When close the form and go back to the same record datebox showing March 25, 2002. I debug the form and looked at the BO value for the datetime field it shows March 25, 2002 &amp;nbsp;11:00 pm.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;My time zone in the saver and the client are (UTC -05:00) EST.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;What is going wrong and how can I fixed it?</description><pubDate>Thu, 13 Feb 2014 14:26:09 GMT</pubDate><dc:creator>Danny Doobay</dc:creator></item><item><title>RE: Datetime issue</title><link>http://forum.strataframe.net/FindPost32434.aspx</link><description>I use the DateBox all over my applications and have never noticed anything wrong specially reading the date wrongly, it must be something wrong with your database or the form.</description><pubDate>Thu, 13 Feb 2014 14:26:09 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Datetime issue</title><link>http://forum.strataframe.net/FindPost32433.aspx</link><description>&lt;div&gt;It started to look very strange, only the dates in march got displayed as one day earlier:&lt;br/&gt;&lt;br/&gt;&lt;div&gt;1943-03-16&amp;nbsp;&lt;div&gt;1994-03-25&amp;nbsp;&lt;div&gt;1997-03-26&amp;nbsp;&lt;div&gt;1998-03-25&amp;nbsp;&lt;div&gt;1965-03-31&amp;nbsp;&lt;div&gt;1958-03-18&amp;nbsp;&lt;div&gt;1972-03-09&amp;nbsp;&lt;div&gt;1996-03-28&amp;nbsp;&lt;div&gt;2002-03-25&amp;nbsp;&lt;div&gt;1997-03-18&amp;nbsp;&lt;div&gt;2003-03-27&amp;nbsp;&lt;div&gt;2001-03-09&amp;nbsp;&lt;div&gt;1966-03-30&amp;nbsp;&lt;div&gt;1989-03-21&amp;nbsp;&lt;div&gt;2000-03-29&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;but 2007-03-21 was fine.</description><pubDate>Thu, 13 Feb 2014 13:48:33 GMT</pubDate><dc:creator>Danny Doobay</dc:creator></item><item><title>RE: Datetime issue</title><link>http://forum.strataframe.net/FindPost32432.aspx</link><description>I am using SQL server 2012 enterprise and datetime field. As you mentioned, I changed the field to date and still same result.</description><pubDate>Thu, 13 Feb 2014 12:11:22 GMT</pubDate><dc:creator>Danny Doobay</dc:creator></item><item><title>RE: Datetime issue</title><link>http://forum.strataframe.net/FindPost32430.aspx</link><description>Hi Danny,&lt;br/&gt;&lt;br/&gt;This message should have been posted in another forum like (WinForm - How to) &lt;a href="http://forum.strataframe.net/Forum7.aspx"&gt;&lt;a href="http://forum.strataframe.net/Forum7.aspx"&gt;http://forum.strataframe.net/Forum7.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Now, back to your message, it is very weird, so couple of questions:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;What database engine are you using?&lt;/li&gt;&lt;li&gt;What type of field, DateTime or Date?, based on your message it looks like DateTime, if you don't need the time part then change the field type to Date.&lt;br/&gt;&lt;/li&gt;&lt;/ol&gt;</description><pubDate>Thu, 13 Feb 2014 10:31:18 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>