used exctract function on created_at