Date ,week and year working properly(graphs)