For rich text, use getformattedtext Your date fields are probably also storing the time, which is why they're always changing. Try comparing only the time component. Use the type attribute of item to determine what type of field you're looking at.