<?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>Agence de Développement Informatique du Nord &#187; Javascript</title>
	<atom:link href="http://blog.adin.pro/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adin.pro</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 26 Dec 2019 08:54:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>javascript get formated date time</title>
		<link>http://blog.adin.pro/2014-02-03/javascript-get-formated-date-time/</link>
		<comments>http://blog.adin.pro/2014-02-03/javascript-get-formated-date-time/#comments</comments>
		<pubDate>Mon, 03 Feb 2014 14:51:36 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[datetime]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=345</guid>
		<description><![CDATA[<p>There is no date time format function for javascript not using external libs. You have to do it yourself. Here an examples for french format YYYY-mm-dd_HH:mm:ss</p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2014-02-03/javascript-get-formated-date-time/">javascript get formated date time</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>There is no date time format function for javascript not using external libs. You have to do it yourself.<br />
Here an examples for french format YYYY-mm-dd_HH:mm:ss</p>
<pre class="brush: jscript; title: ; notranslate">
var curr = new Date();
var year = curr.getFullYear();
var month = (((curr.getMonth()+1) &lt; 10)?'0:'') + (curr.getMonth()+1)
var day = ((curr.getDate() &lt; 10)?'0':'')+curr.getDate()
var hour = ((curr.getHours() &lt; 10)?'0':'')+curr.getHours()
var minute = ((curr.getMinutes() &lt; 10)?'0':'')+curr.getMinutes()
var seconde = ((curr.getSeconds() &lt; 10)?'0':'')+curr.getSeconds()

var output = year+'-'+month+'-'+day+'_'+hour+':'+minute+':'+seconde;
</pre>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2014-02-03/javascript-get-formated-date-time/">javascript get formated date time</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2014-02-03/javascript-get-formated-date-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
