human_time_diff Wordpress function


Description:

Determines the difference between two timestamps.


Syntax:


Arguments:

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


Return Type:

(string) Human readable time difference.


Define At:

wp-includes/formatting.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/human_time_diff


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×