<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : How to change DateTime item&#039;s format?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : How to change DateTime item&#039;s format?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 01:39:56 +0000</pubDate>
  <lastBuildDate>Fri, 06 Jul 2007 16:39:44 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=7436</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[How to change DateTime item&#039;s format? : You can do it easier: SetFormatString...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7436&amp;PID=24275&amp;title=how-to-change-datetime-items-format#24275</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 7436<br /><strong>Posted:</strong> 06 July 2007 at 4:39pm<br /><br />You can do it easier: <font size="2">SetFormatString actually set the format string according to rules of COleDateTime::Format method.<br><br>--<br>WBR,<br>Serge<br></font>]]>
   </description>
   <pubDate>Fri, 06 Jul 2007 16:39:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7436&amp;PID=24275&amp;title=how-to-change-datetime-items-format#24275</guid>
  </item> 
  <item>
   <title><![CDATA[How to change DateTime item&#039;s format? : Hi;  I derived from CXTPReportRecordItemDateTime...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7436&amp;PID=23947&amp;title=how-to-change-datetime-items-format#23947</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 7436<br /><strong>Posted:</strong> 26 June 2007 at 10:39am<br /><br />Hi;<DIV>&nbsp;</DIV><DIV>I derived from CXTPReportRecordItemDateTime and did it like this:</DIV><DIV><FONT size=2><BR>CXRReportRecordItemDateTime::CXRReportRecordItemDateTime(</FONT><FONT color=#0000ff size=2>const</FONT><FONT size=2> COleDateTime&amp; dt) : CXTPReportRecordItemDateTime(dt)</DIV><DIV><DIV>{<BR>SetFormatString(_T(""));<BR>}</DIV><P>CString CXRReportRecordItemDateTime::GetCaption(CXTPReportColumn* </FONT><FONT color=#008000 size=2>/*pColumn*/</FONT><FONT size=2>)</P><DIV>{</DIV><DIV></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (!m_strCaption.IsEmpty())</FONT></DIV><DIV><FONT color=#0000ff size=2>return</FONT><FONT size=2> m_strCaption;</DIV><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (m_odtValue.GetStatus()==COleDateTime::invalid)</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> _T("");</P><P></FONT><FONT color=#0000ff size=2>else</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> m_odtValue.Format();</P><P>}</P></FONT></DIV>]]>
   </description>
   <pubDate>Tue, 26 Jun 2007 10:39:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7436&amp;PID=23947&amp;title=how-to-change-datetime-items-format#23947</guid>
  </item> 
  <item>
   <title><![CDATA[How to change DateTime item&#039;s format? : Hi,I&amp;#039;m using CXTPReportRecordItemDateTime...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7436&amp;PID=23901&amp;title=how-to-change-datetime-items-format#23901</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2934">d324</a><br /><strong>Subject:</strong> 7436<br /><strong>Posted:</strong> 24 June 2007 at 10:49am<br /><br />Hi,<br><br>I'm using CXTPReportRecordItemDateTime in a report control to show a date <br>for each record. The default shows something like "Fri Jun/22/2007 12:45 PM".<br>Is there anyway to change the format?<br><br>Thanks.<br>]]>
   </description>
   <pubDate>Sun, 24 Jun 2007 10:49:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7436&amp;PID=23901&amp;title=how-to-change-datetime-items-format#23901</guid>
  </item> 
 </channel>
</rss>