<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ideas For Free &#187; SharePoint Designer</title>
	<atom:link href="http://blog.libinuko.com/tag/sharepoint-designer/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.libinuko.com</link>
	<description>Only freedom will grow our ideas</description>
	<lastBuildDate>Wed, 28 Jul 2010 14:55:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<!-- google ad injected by adsense-optimizer http://www.adsenseoptimizer.de -->
			<div  style="padding:7px; display: block; margin-left: auto; margin-right: auto; text-align: center;"><!-- Linkblock number: 1 --><script type="text/javascript"><!--
	 
google_ad_client = "pub-4105800609450516";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al_s"; google_ad_channel ="4111627870";
google_color_border = "8FC906";
google_color_bg = "F0F0F0";
google_color_link = "A6FF73";
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>	<item>
		<title>SPD: How to change 24hr format to 12hr format AM/PM</title>
		<link>http://blog.libinuko.com/2009/09/04/spd-how-to-change-24hr-format-to-12hr-format-ampm/</link>
		<comments>http://blog.libinuko.com/2009/09/04/spd-how-to-change-24hr-format-to-12hr-format-ampm/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 00:03:11 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[SharePoint Designer]]></category>

		<guid isPermaLink="false">http://blog.libinuko.com/2009/09/04/spd-how-to-change-24hr-format-to-12hr-format-ampm/</guid>
		<description><![CDATA[English I’ve found this question in forum – but since it was not easy to explain by sentences, I would like to create a sample working option here. For example you have this list as data source: In the data source you have 24hr format (I use string type for my sample, but you can use normal [...] <a href="http://blog.libinuko.com/2009/09/04/spd-how-to-change-24hr-format-to-12hr-format-ampm/">[read more...]</a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><!-- google_ad_section_start --><p>English</p>
<p>I’ve found this question in forum – but since it was not easy to explain by sentences, I would like to create a sample working option here.</p>
<p>For example you have this list as data source:</p>
<p><a href="http://blog.libinuko.com/wp-content/uploads/2009/09/94200973007AM.gif"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="9-4-2009 7-30-07 AM" src="http://blog.libinuko.com/wp-content/uploads/2009/09/94200973007AM_thumb.gif" width="501" height="149" /></a> </p>
</p>
<p>In the data source you have 24hr format (I use string type for my sample, but you can use normal DateTime).</p>
<p>In SharePoint, to display the 24hr format in 12hr format, you need to use DataFormWebpart + proper ddwrt function like this:</p>
<p><a href="http://blog.libinuko.com/wp-content/uploads/2009/09/94200975828AM.gif"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="9-4-2009 7-58-28 AM" src="http://blog.libinuko.com/wp-content/uploads/2009/09/94200975828AM_thumb.gif" width="430" height="307" /></a> </p>
<p>The ddwrt function you need to play is:</p>
<blockquote><p>ddwrt:FormatDate(string([Field]),1033,5)</p>
</blockquote>
<p><strong>[Field]</strong> is the field where you have the data, in this case internal name of “24hr format”.    <br /><strong>1033</strong> is the culture    <br /><strong>5</strong> is the predefined format , you can use ‘M/d/yyyy hh:mm:ss tt’ instead.</p>
<p>&#160;</p>
<p>And the final result will be,</p>
<p><a href="http://blog.libinuko.com/wp-content/uploads/2009/09/94200980218AM.gif"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="9-4-2009 8-02-18 AM" src="http://blog.libinuko.com/wp-content/uploads/2009/09/94200980218AM_thumb.gif" width="369" height="149" /></a> </p>
<p>&#160;</p>
<p>Happy design!</p>
<!-- google_ad_section_end --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.libinuko.com/2009/09/04/spd-how-to-change-24hr-format-to-12hr-format-ampm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
