<?php
date_default_timezone_set("America/Denver");
$atsDate = date('Y-m-d');
// if date is not being generated on the page and is not in the Y-m-d format,
// run this block:
// $atsDate = "2017-12-21 06:02:08";
// $atsDate = strtotime($atsDate);
// $atsDate = date("Y-m-d", $atsDate);
$atsDateExpired = strtotime($atsDate . '+ 90 days');
$atsDateExpired = date('Y-m-d',$atsDateExpired);
?>