Ewa3sherif
07-26-2001, 11:45 AM
Hello,
Is it possible to convert a date (day) string to an integer in a shell script? I work with KSH... and I have to obtain the day in numeric format.
For ex: the first of january 2001 is the number "1" etc
...and if this convertion isn't possible, could I find with a date string the number of a day's week ?
for ex: monday is the first day of the week...
Could someone help-me please. :confused:
Is it possible to convert a date (day) string to an integer in a shell script? I work with KSH... and I have to obtain the day in numeric format.
For ex: the first of january 2001 is the number "1" etc
...and if this convertion isn't possible, could I find with a date string the number of a day's week ?
for ex: monday is the first day of the week...
Could someone help-me please. :confused: