For the data set below(actual one is several thousand row long) I would like SAS to aggregate the income daily (many income lines everyday per machine), weekly, monthly (start of week is Monday, Start of month is 01 in any given year) by the machine. Is there a straight forward code for this? Any help is appreciated. 

```
MachineNo  Date      income
1         01Jan2012  1500 
1         02Jan2012  2000
1         27Aug2012  300 
2         02Jan2012  1200
2         15Jun2012  50
3         03Mar2012  1000
4         08Apr2012  500

```