postgresql7.1 select current_timestamp select next_day(current_timestamp,'Monday')::date select (last_day(current_timestamp)+'1 day')::date