Have you tried converting the dates to UTC before comparing? At least this would remove the timezone problem