I need to know the location and or code needed to convert the date picker used in the search feature to convert readable dates to unix timestamps. As seen below, I convert inputed dates to strtotime timestamps so when files are saved in timestamp the search by date only searches with readable format not timestamp which I save in on the database.
Do I use Search Page: Before process and convert the search in standard human readable to strtotime? I attempted this conversion here but didn't seem to work, or I might need to know the values that phprunner uses in the search fields to convert a date search request?
$values["event_time_start"] = strtotime($values["event_time_start"]);
$values["event_time_end"] = strtotime($values["event_time_end"]);
please note I do use a conversion to make it readable threw the actual value on the editor...
if ($value)
$value = date("m/d/Y",$value);
//=========================================
if ($value == date("m/d/Y"))
{
$color="white";
$value="<font color='$color'>$value</font>";
}
else
{
$color="black";
$value="<font color='$color'>$value</font>";
}