[SUMMARY] :Numeric Month in shell ?

From: Dirk Boenning <dirk.boenning_at_efonds24.de>
Date: Thu Mar 07 2002 - 09:08:47 EST
Hello,

thanx for the quick responses. The solution is:

date +%m

Thanx again to all.

Ps.: You could see all possible arguments with 'man strftime'

 > -----Original Message-----

 > Hello,
 >
 > slighty off topic, sorry for that.
 > Within in a shell (/bin/sh) I need the numeric month.
 > All I found so far is 'date +%b'. But this results in "March" for
 > example. I would need "3" or "03" instead.
 >
 > Any glue ?
 >
 > Thanx in advcance, Dirk.
 > _______________________________________________
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Mar 7 08:09:12 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:36 EST