Sql find last day of month based on given date July 8, 2019 16 32 64 128 Sql find first day of month based on given date