EN:Sometimes we need to use getdate() function instead of DateTime.Now. Because with getdate() we can…