currentDate top-level constant

Expression<DateTime> const currentDate

A sql expression that evaluates to the current date represented as a unix timestamp. The hour, minute and second fields will be set to 0.

Implementation

const Expression<DateTime> currentDate =
    _CustomDateTimeExpression("strftime('%s', CURRENT_DATE)");