I want to strip/remove seconds from a DateTime. Starting with a full Datetime like:
DateTime datetime = DateTime.UtcNow;
I want to strip the seconds using any inbuilt function or regular expression.
Input: 08/02/2015 09:22:45
Expected result: 08/02/2015 09:22:00