now use localtime for easy comparison