<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TIMESTAMP in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/timestamp/m-p/5014374#M96590</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Change the TIMESTAMP setting to look like:&lt;BR /&gt;&lt;BR /&gt;# TIMESTAMP='echo `/bin/date "+%d%m%Y %H:%M:%S"`'&lt;BR /&gt;&lt;BR /&gt;...adding the 'echo' and double quotes in lieu of single ones as noted.  Then:&lt;BR /&gt;&lt;BR /&gt;# echo "Finish time\c"; eval ${TIMESTAMP}&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Thu, 16 Nov 2006 08:58:03 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2006-11-16T08:58:03Z</dc:date>
    <item>
      <title>TIMESTAMP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/timestamp/m-p/5014372#M96588</link>
      <description>Is there any function that will re-adjust a variables value. E.g. I have a variable such as:&lt;BR /&gt;&lt;BR /&gt;TIMESTAMP=`/bin/date '+%d%m%Y %H:%M:%S'`&lt;BR /&gt;&lt;BR /&gt;echo "Start time: $TIMESTAMP"&lt;BR /&gt;&lt;BR /&gt;...... more code etc......&lt;BR /&gt;&lt;BR /&gt;echo "Finish time: $TIMESTAMP"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I know that I can insert the line before the final one to achieve this . i.e.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TIMESTAMP=`/bin/date '+%d%m%Y %H:%M:%S'`&lt;BR /&gt;&lt;BR /&gt;echo "Start time: $TIMESTAMP"&lt;BR /&gt;&lt;BR /&gt;...... more code etc......&lt;BR /&gt;TIMESTAMP=`/bin/date '+%d%m%Y %H:%M:%S'`&lt;BR /&gt;echo "Finish time: $TIMESTAMP"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any other options?</description>
      <pubDate>Thu, 16 Nov 2006 08:41:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/timestamp/m-p/5014372#M96588</guid>
      <dc:creator>Unix or Linux?</dc:creator>
      <dc:date>2006-11-16T08:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/timestamp/m-p/5014373#M96589</link>
      <description>If you will be using the TIMESTAMP variable only once, then there is no need for the variable existence, just use:&lt;BR /&gt;&lt;BR /&gt;/bin/date +"Start Time: %d%m%Y %H:%M:%S"&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;/bin/date +"Finish Time: %d%m%Y %H:%M:%S"</description>
      <pubDate>Thu, 16 Nov 2006 08:50:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/timestamp/m-p/5014373#M96589</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-11-16T08:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/timestamp/m-p/5014374#M96590</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Change the TIMESTAMP setting to look like:&lt;BR /&gt;&lt;BR /&gt;# TIMESTAMP='echo `/bin/date "+%d%m%Y %H:%M:%S"`'&lt;BR /&gt;&lt;BR /&gt;...adding the 'echo' and double quotes in lieu of single ones as noted.  Then:&lt;BR /&gt;&lt;BR /&gt;# echo "Finish time\c"; eval ${TIMESTAMP}&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 16 Nov 2006 08:58:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/timestamp/m-p/5014374#M96590</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-11-16T08:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/timestamp/m-p/5014375#M96591</link>
      <description>Thanks</description>
      <pubDate>Thu, 16 Nov 2006 09:16:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/timestamp/m-p/5014375#M96591</guid>
      <dc:creator>Unix or Linux?</dc:creator>
      <dc:date>2006-11-16T09:16:33Z</dc:date>
    </item>
  </channel>
</rss>

