Jun 15, 2004 #1 dvknn IS-IT--Management Mar 11, 2003 94 US Hi, How can I get a date in DD-MMM-YYYY format? for eg: 15-JUN-2004 - Thanks
Jun 15, 2004 #2 johngiggs Technical User Oct 30, 2002 492 US dvknn, man date date +%d"-"%b"-"%Y Hope this helps. John Upvote 0 Downvote
Jun 15, 2004 #3 PHV MIS Nov 8, 2002 53,708 FR man date you may try this: date +%d-%b-%Y | tr [:lower:] [:upper:] or this: date +%d-%h-%Y | tr [:lower:] [:upper:] Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
man date you may try this: date +%d-%b-%Y | tr [:lower:] [:upper:] or this: date +%d-%h-%Y | tr [:lower:] [:upper:] Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244