You can use the \DatabaseBase::timestamp function here for consistency.