My goal is to use human_time_diff only when the post was added on the current day. When it wasn't, I would like to revert to the traditional timestamp (the second code). I'm unsure how this would be achieved and need some help. I have provided the two codes I would be combining below.
The code for grabbing the difference between the posting time and current time (i.e. 25 minutes ago):
<?php echo human_time_diff( get_the_time('U'), current_time('timestamp') ) . ' ago'; ?>
The code for stating the post was added on X date at X time:
<?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?>