How to convert timestamp from a String in Swift 3? : consider the string like "2017-08-30T06:40:00.000+00:00"
1 - How to convert this string into timestamp 
2 - How to group this input into time slots (for eg, if the input is time = 2:30 PM, it will be grouped into the slot of 2pm to 3pm)