Stores now() and curdate() on variables to reduce the number of calls to these functions