Is there a way to run logic on a Date field in Pres?

For example, if date is before 01/01/2014 do Subroutine_A, if date is on or after 01/01/2014 do Subroutine_B