Can someone help me with the following:
I have a date, for example: 3-1-2014,
And I would like to convert this to the number 5, because it is a friday.
So 7-1-2014 would be 1, because it is a monday.
Which package/code can do this for me?
Thanks