date

From: Zelli, Brian <Brian.Zelli_at_RoswellPark.org>
Date: Tue, 22 Mar 2016 13:34:18 +0000
Message-ID: <BY2PR1201MB10802EAF6B49AA2ECB05D86FF4800_at_BY2PR1201MB1080.namprd12.prod.outlook.com>



I am modifying another DBA's script in unix. He has RUNDATE=`date +%C%y%m%d`. I googled and see that the +%C%y%m%d converts to 20150322 but what does the date + do?

Using that same code, he wants me to run it from 1/30/16, so could I just hardcode as RUNDATE = '20160116'?

Brian

This email message may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited. If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Mar 22 2016 - 14:34:18 CET

Original text of this message