$query = \Drupal::entityQuery('user');
$time = time();
$yesterday = $time - 60*60*24;
$new_users = $query->condition('created', $yesterday, '>=')
->sort('created', 'DESC')
->execute();
Drupal8 sort()
Search form
Amazon Deals
Stay Connected
Most Read
Tags
Popular content
Recent content
ThirstySix helps support and grow the Drupal community with the Drupal Association.
Recent comments
$host =…