Update BaseUtilities.core.php

made buildTime method take the absolute value of time difference for looking forward and backward in time correctly