tidb_query_expr::impl_time
pub fn to_seconds(ctx: &mut EvalContext, t: &DateTime) -> Result<Option<Int>>