Advertisement
dimti

Untitled

Feb 8th, 2016
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1. <?php
  2.                     $date_modified_timestamp_max = 0;
  3.                     foreach ( $results as $result ) {
  4.                         $date_modified_timestamp = strtotime( $result['date_modified'] );
  5.                         if ( $date_modified_timestamp > $date_modified_timestamp_max ) {
  6.                             $date_modified_timestamp_max = $date_modified_timestamp;
  7.                         }
  8.                     }
  9.                     if ( $date_modified_timestamp_max ) {
  10.                         LastModified( $date_modified_timestamp_max );
  11.                     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement