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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatted Date

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi!

I Need To Simply Print Out The Current Date
in The Format MM/DD/YY

Could You Show Me In Both Ksh and Csh, So I Can Try Both
 
I believe this works for both shells:

date +'%m/%d/%y'

Chris
 
Code:
date +"%m/%d/%y"

But just try
Code:
man date
(thanks vlad ;-) )
to find all possible output of the
Code:
date
command.

(... And Why Do You Capitalize All Your Words ?)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top