I know "date +%d-%m-%y" gives me 02-04-08, but how to easily get "02-Apr-08", i.e. the month has the three letter format. I need to use this "02-Apr-08" format to feed an Oracle database.
Thanks a lot!
I know "date +%d-%m-%y" gives me 02-04-08, but how to easily get "02-Apr-08", i.e. the month has the three letter format. I need to use this "02-Apr-08" format to feed an Oracle database.
Thanks a lot!
man date
date +%d-%b-%y
Thanks a lot!
I checked man, but didn't find the answer somehow
date +%d-%b-%y
This will do the trick