I need a query showing today's post only, I searched the forum but all the solutions are old entries from previous wordpress versions.
The codex gave this solution but it's not working:
<?php $current_month = date('m'); ?>
<?php $current_year = date('Y'); ?>
<?php query_posts("cat=22&year=$current_year&monthnum=$current_month&order=ASC"); ?>
Thanks in advance