added some dates utilities to calculate first and last day of week, month, year