Using dates in expressions

Is there a way I can use the DateTimeChanged field in my conditional expressions?

I want any changes that occurred in the last 1 day to follow condition 1, all others are to follow a different condition.

Yes, you can create expressions that use the DateTimeChanged field. This is a normal DateTime field type and any C# DateTime expression can be used.

If you want to set a condition for any employee that has changed in the past 1 day, use this expression:

Employment.DateTimeChanged > DateTime.Now.AddDays(-1) || Person.DateTimeChanged > DateTime.Now.AddDays(-1)

This checks for changes (within in the last day) on both the Person and Employment objects.

condition on DateTimeChanged