<?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>westworld: a webmasters best friend &#187; Date()</title>
	<atom:link href="http://www.westworld.be/tag/date/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.westworld.be</link>
	<description>A webmasters best friend</description>
	<lastBuildDate>Mon, 14 Jun 2010 18:12:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Javascript date object</title>
		<link>http://www.westworld.be/a-note-to-self/javascript-date-object/</link>
		<comments>http://www.westworld.be/a-note-to-self/javascript-date-object/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 08:32:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[a note to self]]></category>
		<category><![CDATA[Date()]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.westworld.be/?p=16</guid>
		<description><![CDATA[How to use javascript's date() object.


Related posts:<ol><li><a href='http://www.westworld.be/a-note-to-self/prototype-submit-multiple-select-with-ajax-call/' rel='bookmark' title='Permanent Link: Prototype: submit multiple select with ajax call'>Prototype: submit multiple select with ajax call</a></li></ol>]]></description>
			<content:encoded><![CDATA[<pre class="code">var mytime = new Date()
var mymonth = mytime<span style="color: red;">.getMonth() + 1</span> // for javascript january = 0  correct this by adding 1
var myday = mytime.getDate()
var myyear = mytime.getFullYear()
document.write(mymonth + "/" + myday + "/" + myyear)
Beware that this is the date on the client's computer. For forms use the date on your server.
</pre>
<h4>Related Blogs</h4>
<ul class="pc_pingback">
<li class="hdl" style="list-style: none">Related Blogs on <strong></strong></li>
</ul>


<p>Related posts:<ol><li><a href='http://www.westworld.be/a-note-to-self/prototype-submit-multiple-select-with-ajax-call/' rel='bookmark' title='Permanent Link: Prototype: submit multiple select with ajax call'>Prototype: submit multiple select with ajax call</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.westworld.be/a-note-to-self/javascript-date-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
