Method I use for comparing timestamps from a MYSQL server on iOS