Hi,
I'm trying to write a script so that people can input their birthday in a day/ month/ year format and i was wondering if its possible or maybe easier to do it using:
date '+%w' ?
Hi,
I'm trying to write a script so that people can input their birthday in a day/ month/ year format and i was wondering if its possible or maybe easier to do it using:
date '+%w' ?
Have a look at the date command. Do a "man date" to see the options for date reformatting.