Sample code for 30+ languages & platforms
PHP ActiveX

Example: Http.GenTimeStamp method

Demonstrates the GenTimeStamp method.

Chilkat PHP ActiveX Downloads

PHP ActiveX
<?php

$http = new COM("Chilkat.Http");

// Return current date/time in the following format: Day, DD Mon YYYY HH:MM:SS GMT
$timestamp = $http->genTimeStamp();
print $timestamp . "\n";

// Sample Output:
// Thu, 21 Aug 2025 11:17:31 GMT

?>