Description: Get the first day and the last day of the week/month/quarter to which a date belongs. Syntax: pdate (dateExthe first day,the last day