I have this code:
<?php
$date = date('Y-m-d H:i:s', strtotime('-6 hours', (int)get_the_time('U')));
echo $date;
?>
as you can see the time is changed by subtracting 6 hours from the time, what I want to subtract the hours and also minutes so I tried this:
<?php
$date = date('Y-m-d H:i:s', strtotime('-6 hours', '-23 minutes', (int)get_the_time('U')));
echo $date;
?>
But isn't working, any idea?
Thank you in advance