The Guy Who Keeps Coding While True Yavuz Ege Özcan's blog

Parsing Time Manually 8 years ago

How do you get the minute difference between two 12-hour dates encoded in a string like

"12:05am-02:55pm"

?

Short Answer

You shouldn’t. Get your data properly!

But Still…

I hate myself.