<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Create a date and time stamp in your batch files</title>
	<atom:link href="http://www.intelliadmin.com/index.php/2007/02/create-a-date-and-time-stamp-in-your-batch-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.intelliadmin.com/index.php/2007/02/create-a-date-and-time-stamp-in-your-batch-files/</link>
	<description>Windows Network Administration Software</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:32:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Derek Morin</title>
		<link>http://www.intelliadmin.com/index.php/2007/02/create-a-date-and-time-stamp-in-your-batch-files/comment-page-1/#comment-4020</link>
		<dc:creator>Derek Morin</dc:creator>
		<pubDate>Fri, 23 Dec 2011 14:21:08 +0000</pubDate>
		<guid isPermaLink="false">http://intelliadmin.wordpress.com/2007/02/16/create-a-date-and-time-stamp-in-your-batch-files/#comment-4020</guid>
		<description>Awesome code Bewc!!  That is really fantastic and you obviously put a lot of effort into it.

In case others hit an error:

I hit error with using this code, but it turned out the that double quote and single quote characters didn&#039;t paste well from the website, and I just needed to change them on the two &quot;for&quot; loop lines.

I also added @echo off at the top of the batch file to just see the output.</description>
		<content:encoded><![CDATA[<p>Awesome code Bewc!!  That is really fantastic and you obviously put a lot of effort into it.</p>
<p>In case others hit an error:</p>
<p>I hit error with using this code, but it turned out the that double quote and single quote characters didn&#8217;t paste well from the website, and I just needed to change them on the two &#8220;for&#8221; loop lines.</p>
<p>I also added @echo off at the top of the batch file to just see the output.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://www.intelliadmin.com/index.php/2007/02/create-a-date-and-time-stamp-in-your-batch-files/comment-page-1/#comment-3926</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Fri, 18 Nov 2011 22:26:04 +0000</pubDate>
		<guid isPermaLink="false">http://intelliadmin.wordpress.com/2007/02/16/create-a-date-and-time-stamp-in-your-batch-files/#comment-3926</guid>
		<description>This was a great, simple solution. And thanks to other posters, who added the code to get the Hours, Minutes, Seconds.</description>
		<content:encoded><![CDATA[<p>This was a great, simple solution. And thanks to other posters, who added the code to get the Hours, Minutes, Seconds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Smari</title>
		<link>http://www.intelliadmin.com/index.php/2007/02/create-a-date-and-time-stamp-in-your-batch-files/comment-page-1/#comment-3760</link>
		<dc:creator>Smari</dc:creator>
		<pubDate>Tue, 20 Sep 2011 13:17:55 +0000</pubDate>
		<guid isPermaLink="false">http://intelliadmin.wordpress.com/2007/02/16/create-a-date-and-time-stamp-in-your-batch-files/#comment-3760</guid>
		<description>Thanks a lot Steve. that was very helpful.</description>
		<content:encoded><![CDATA[<p>Thanks a lot Steve. that was very helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anon</title>
		<link>http://www.intelliadmin.com/index.php/2007/02/create-a-date-and-time-stamp-in-your-batch-files/comment-page-1/#comment-3696</link>
		<dc:creator>anon</dc:creator>
		<pubDate>Mon, 22 Aug 2011 21:53:50 +0000</pubDate>
		<guid isPermaLink="false">http://intelliadmin.wordpress.com/2007/02/16/create-a-date-and-time-stamp-in-your-batch-files/#comment-3696</guid>
		<description>Create a filename with Date and Time stamp, cleanly.

SET CurrentDate=%date:~-4,4%%date:~-7,2%%date:~-10,2%
SET CurrentTIme=%time:~-11,2%%time:~-8,2%%time:~-5,2%

echo c:\%CurrentDate%_T%CurrentTime%.csv</description>
		<content:encoded><![CDATA[<p>Create a filename with Date and Time stamp, cleanly.</p>
<p>SET CurrentDate=%date:~-4,4%%date:~-7,2%%date:~-10,2%<br />
SET CurrentTIme=%time:~-11,2%%time:~-8,2%%time:~-5,2%</p>
<p>echo c:\%CurrentDate%_T%CurrentTime%.csv</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://www.intelliadmin.com/index.php/2007/02/create-a-date-and-time-stamp-in-your-batch-files/comment-page-1/#comment-3649</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Wed, 27 Jul 2011 06:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://intelliadmin.wordpress.com/2007/02/16/create-a-date-and-time-stamp-in-your-batch-files/#comment-3649</guid>
		<description>Hi All!!!
  Thanks for ALL the GREAT ideas!
I wanted to know how I can get the timestamp of a FILE to echo in a batch, rather than just the system time.
  I am FTPing a file once a minute from a camera server, and sometimes the server hangs and doesn&#039;t update the image, so the time stamp doesn&#039;t change.
  I wanted to be able to see the image&#039;s timestamp displayed while my batch is running.
  Any ideas?  (I am using a simple command (DOS) window and a batch file that displays all FTP activity, EXCEPT the file&#039;s timestamp).
Thannks!!!</description>
		<content:encoded><![CDATA[<p>Hi All!!!<br />
  Thanks for ALL the GREAT ideas!<br />
I wanted to know how I can get the timestamp of a FILE to echo in a batch, rather than just the system time.<br />
  I am FTPing a file once a minute from a camera server, and sometimes the server hangs and doesn&#8217;t update the image, so the time stamp doesn&#8217;t change.<br />
  I wanted to be able to see the image&#8217;s timestamp displayed while my batch is running.<br />
  Any ideas?  (I am using a simple command (DOS) window and a batch file that displays all FTP activity, EXCEPT the file&#8217;s timestamp).<br />
Thannks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Wiseman</title>
		<link>http://www.intelliadmin.com/index.php/2007/02/create-a-date-and-time-stamp-in-your-batch-files/comment-page-1/#comment-3602</link>
		<dc:creator>Steve Wiseman</dc:creator>
		<pubDate>Fri, 08 Jul 2011 13:38:53 +0000</pubDate>
		<guid isPermaLink="false">http://intelliadmin.wordpress.com/2007/02/16/create-a-date-and-time-stamp-in-your-batch-files/#comment-3602</guid>
		<description>Glad to help Aidan. Thanks for taking the time to comment - Steve</description>
		<content:encoded><![CDATA[<p>Glad to help Aidan. Thanks for taking the time to comment &#8211; Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aidan</title>
		<link>http://www.intelliadmin.com/index.php/2007/02/create-a-date-and-time-stamp-in-your-batch-files/comment-page-1/#comment-3601</link>
		<dc:creator>Aidan</dc:creator>
		<pubDate>Fri, 08 Jul 2011 10:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://intelliadmin.wordpress.com/2007/02/16/create-a-date-and-time-stamp-in-your-batch-files/#comment-3601</guid>
		<description>I hate windows so thanks to all above for doing the hard work me! Very usefu, thanks again.

Aidan</description>
		<content:encoded><![CDATA[<p>I hate windows so thanks to all above for doing the hard work me! Very usefu, thanks again.</p>
<p>Aidan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brijesh</title>
		<link>http://www.intelliadmin.com/index.php/2007/02/create-a-date-and-time-stamp-in-your-batch-files/comment-page-1/#comment-1564</link>
		<dc:creator>brijesh</dc:creator>
		<pubDate>Mon, 16 May 2011 15:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://intelliadmin.wordpress.com/2007/02/16/create-a-date-and-time-stamp-in-your-batch-files/#comment-1564</guid>
		<description>Hey guys,

could someone help me in displaying current timestamp.

i tried 
%date:~-4,4%/%date:~-7,2%/%date:~-10,2% %time:~-11,2%:%time:~-8,2%:%time:~-5,2%

but its quite long and putting it in a variable then displaying the variable show the time when i set that variable.

please let me know how should i use that variable to show the current date and time

thanks</description>
		<content:encoded><![CDATA[<p>Hey guys,</p>
<p>could someone help me in displaying current timestamp.</p>
<p>i tried<br />
%date:~-4,4%/%date:~-7,2%/%date:~-10,2% %time:~-11,2%:%time:~-8,2%:%time:~-5,2%</p>
<p>but its quite long and putting it in a variable then displaying the variable show the time when i set that variable.</p>
<p>please let me know how should i use that variable to show the current date and time</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger</title>
		<link>http://www.intelliadmin.com/index.php/2007/02/create-a-date-and-time-stamp-in-your-batch-files/comment-page-1/#comment-1372</link>
		<dc:creator>Roger</dc:creator>
		<pubDate>Tue, 15 Feb 2011 00:25:14 +0000</pubDate>
		<guid isPermaLink="false">http://intelliadmin.wordpress.com/2007/02/16/create-a-date-and-time-stamp-in-your-batch-files/#comment-1372</guid>
		<description>It seems to me that I have seen quite a similar example in the setup package of Dr.Batcher ( http://www.drbatcher.com ). This is an utility to create batch files, and it&#039;s extremely useful.</description>
		<content:encoded><![CDATA[<p>It seems to me that I have seen quite a similar example in the setup package of Dr.Batcher ( <a href="http://www.drbatcher.com" rel="nofollow">http://www.drbatcher.com</a> ). This is an utility to create batch files, and it&#8217;s extremely useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Summers</title>
		<link>http://www.intelliadmin.com/index.php/2007/02/create-a-date-and-time-stamp-in-your-batch-files/comment-page-1/#comment-1082</link>
		<dc:creator>Tom Summers</dc:creator>
		<pubDate>Tue, 05 Oct 2010 18:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://intelliadmin.wordpress.com/2007/02/16/create-a-date-and-time-stamp-in-your-batch-files/#comment-1082</guid>
		<description>Thanks Steve,  we&#039;ve been fighting the time thing all morning.  This helps alot.  Again thanks</description>
		<content:encoded><![CDATA[<p>Thanks Steve,  we&#8217;ve been fighting the time thing all morning.  This helps alot.  Again thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

