Processing time and date software development is a very common operation,Almost all programming languages provide a corresponding API to facilitate the development of the date and time to process,Swift is no exception,such as DateFormatter ,You can use it any Date