Hi M.King, welcome to the forums.
Sorry, but I'm confused by your example.
Why not just call date() in your code instead of calling the database for a CONSTANT value? (wouldn't it be better as a variable?)
I'm wondering if you're trying to bang something into doing something that could be done in a better way.
Storing code in a database could be risky business as running it would probably use eval() IMHO not worth doing this way, if not for security reasons, to reduce resource use.