Im looking for some good patterns of how to filter date/time in a graph. It doesnt need to be specific dates, more like day, week, month.
The normal approach is to provide 2 dates that may be set individually with a date selector or by entering the dates manually.
In addition to these date fields, it is very handy to provide some predefined ranges. When the user selects one of these predefined suggestions, the date fields should be set to the correct dates to reflect the selection from the list.
The suggestions in this list depends on the purpose your product.
For reporting tools (eg. training log, working hours, phone call history):
For planning tools (eg. traveling, TV-shows):
A weird proposal for some imaginary photo album software: