Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $interval = '';
- $commD = '{comment_date format="%Y-%m-%d %g:%i %A"}';
- $commD2 = $this->EE->localize->string_to_timestamp($commD);
- //echo $commD2;//currently yields nothing
- $currD = $this->EE->localize->now;
- $interval = GetComment_Interval($commD2,$currD); // find days between
- echo $interval." days";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement