WordPress at Your Fingertips
function is not described

WC_Tracks_Client::build_timestamp() public WC 1.0

Create a timestap representing milliseconds since 1970-01-01

{} It's a method of the class: WC_Tracks_Client{}

No Hooks.

Return

String. A string representing a timestamp.

Usage

$result = WC_Tracks_Client::build_timestamp();

Code of WC_Tracks_Client::build_timestamp() WC 5.8.0

public static function build_timestamp() {
	$ts = NumberUtil::round( microtime( true ) * 1000 );

	return number_format( $ts, 0, '', '' );
}