Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

date command

Status
Not open for further replies.

abovebrd

IS-IT--Management
May 9, 2000
690
US
If I use the following command : date +%j
it gives me the date output in "day of the year format" 004

date +%j (returns) 004 (If the date is 01/04/01_

Does any one a way to have the date command interpet a number and give the date

004 = 01/04/01
005 = 01/05/01
006 = 01/06/01 and so on

-Danny






 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top