﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Application Framework / Business Objects and Data Access (How do I?)  / ListView Date Format / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Tue, 02 Dec 2008 16:37:12 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: ListView Date Format</title><link>http://forum.strataframe.net/Topic14366-6-1.aspx</link><description>No problem :)</description><pubDate>Wed, 13 Feb 2008 14:17:32 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ListView Date Format</title><link>http://forum.strataframe.net/Topic14366-6-1.aspx</link><description>Ahhh, within the list view population settings window!  Doh!&lt;/P&gt;&lt;P&gt;Sooooo simple.  Yup...that's why I missed it.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Bill</description><pubDate>Wed, 13 Feb 2008 14:15:33 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: ListView Date Format</title><link>http://forum.strataframe.net/Topic14366-6-1.aspx</link><description>[quote]&lt;TABLE cellSpacing=0 cellPadding=0 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=smalltxt vAlign=top&gt;&lt;SPAN id=ctl02_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl04_lblFullMessage&gt;I am sure that I am missing something simple, but how do I format a date field to display the shortdatestring only in a ListView column?&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;[/quote]&lt;/P&gt;&lt;P&gt;You can just use standard string formatting.  You can actually supply additional formatting for virtually any data type.  You can learn more in the .NET help by looking up the String.Format command.  But if you want the date to show up like, "01/01/2008" then you would do this:&lt;/P&gt;&lt;P&gt;[codesnippet]{0:MM/dd/yyyy}[/codesnippet]</description><pubDate>Wed, 13 Feb 2008 13:43:16 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>ListView Date Format</title><link>http://forum.strataframe.net/Topic14366-6-1.aspx</link><description>I am sure that I am missing something simple, but how do I format a date field to display the shortdatestring only in a ListView column?  What shows up now, is the date plus the time.  I've tried everything that I can think of to fix it, but nothing is working.  What is that one thing that I have not tried, yet?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Bill</description><pubDate>Wed, 13 Feb 2008 13:39:29 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item></channel></rss>