WC_Tracks_Client::build_timestamp()

Create a timestap representing milliseconds since 1970-01-01


Description Description


Return Return

(string) A string representing a timestamp.


Top ↑

Source Source

File: includes/tracks/class-wc-tracks-client.php

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

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


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.