I don't see what that question can mean. Dates don't have criteria; a criterion is some reason for choosing between multiple options. Your criterion when trying to decide whether to write a function or a sub might be whether you need a value returned, for example. A date doesn't have criteria, it just is.
I'm sure it isn't. Until you can actually say what you want, no one here will be able to help you. Try using complete sentences, and pretending that we don't know what it is you're trying to do.