added date check functions to clean alert messages up a bit, fixed var name in ilios.utilities