Add Date and Author to Posts

Use the following code in file template single.php (https://developer.wordpress.org/reference/functions/get_day_link/#user-contributed-notes ) :

 <?php
 $archive_year  = get_the_time( 'Y' );
 $archive_month = get_the_time( 'm' );
 $archive_day   = get_the_time( 'd' );
 $month= get_the_date('M');
?>
<div class="custom_archives">
  <p>
    Posted on: <a href="https://wordpress.stackexchange.com/questions/310792/<?php echo esc_url( get_day_link( $archive_year, $archive_month, $archive_day ) ); ?>"><?php echo $month. " ".$archive_day.", " .$archive_year; ?>
    </a>
  </p>
  <p>
    <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"><?php printf( __( 'View all posts by %s', 'twentysixteen' ), get_the_author() ); ?>
    </a>
  </p>
</div>

The first link is the daily archive, the second the author archive