tod()

When you use the tod() function in part of a query, the Service Manager server will replace the call to tod() with the appropriate value. Therefore, the following query is valid:

select ps.number, ps.title from probsummary ps where ps.open.date<tod()