Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress Human Time Diff Reply To: WordPress Human Time Diff

#165417
Alen
Participant

I’m not sure what you are trying to do but human_time_difffunction is responsible for determining this functionality. And this function takes in two arguments:

$from – Unix timestamp from which the difference begins.
$to – (Optional) Unix timestamp to end the time difference. Default becomes time() if not set.

Source.

turn off the human time diff on the admin tables

There’s no information in the tables about the “diff”, the date at which the post was created, get’s passed to this function which determines the human readable format. You can just query for the date and deal with it how you see fit, skipping the function.