Php Code help .... (months & date)

The output is:

    $monthDescription.= ' from ('.sdate($fromdate). ' till '.sdate($todate).')';

In the script supplied, the format or calculation is not shown for $fromdate.

If and only if $fromdate is in a “timestamp” format then formatting options are avaialable here:

Php Format date()

**Example: **

  $fromdate = time();

    echo date('l, F jS, Y H:i:s', $fromdate);

    // output: **Sunday, December 13th, 2015 02:53:32**

Edit:
Anouther useful PHP function is Strtotime