I have two values like Todaytime 2017-10-30 15:31:51 and Expiretime 2017-10-31 10:02:17 --> string format like this, Now I subtract the Todaytime and Expiretime getting the answer, I will show on UIlabel with running time i.e., Reduces the Secounds like 23:59:29, 23:59:30...like that. I can reduces the time can you please any one help me. in iOS
how to subtract the Todaytime and Expiretime in iOS swift3 Todaytime 2017-10-30 15:31:51 Expiretime 2017-10-31 10:02:17