Jump to content

Generate days of the month


xionhack

Recommended Posts

Go from here:

 

<?php

function week_of_year($day) {

    //Get date supplied Timestamp;

    $thisdate = mktime($day);

        if (date("D", mktime(1)) == "Mon"){

          echo "M";

}

    $thisdate = mktime($day);

        if (date("D", mktime(1)) == "Tues"){

          echo "T";

}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.