Probably what you want is something like:
<?php
$time = mktime(0, 0, 0, $month, $day, $year);
<?php
$time = mktime(0, 0, 0, $month, $day, $year);
if (false !== $time && -1 !== $time) {
$info = getdate($time);
} else {
} else {
// error
}
}
On Mon, Jan 27, 2020 at 5:50 AM Jeffry Killen <jekillen@xxxxxxxxxxx> wrote:
Hello;
What I am looking for is a way to pass a date
month/day/year to getDate and find out the
various array values associated with that date.
So the question is: how would I convert int mon/ int day/ int year
to a time stamp? Looking at the various functions it is not
clear to me.
Thank you for time and attention;
JK