MCPcopy Create free account
hub / github.com/Automattic/o2 / parse_time

Method parse_time

modules/time-shortcode/load.php:74–96  ·  view source on GitHub ↗

* Convert a time string into an epoch timestamp * * @param string $date_string - Any valid strtotime string * @param int $time (optional) - Epoch timestamp for relative date parsing * @return mixed - int Epoch timestamp on success, false on fail **/

( $date_string, $time = null )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls

no outgoing calls