Sample code for 30+ languages & platforms
PHP

Example: Http.GenTimeStamp method

Demonstrates the GenTimeStamp method.

Chilkat PHP Downloads

Chilkat2 PHP
<?php

use Chilkat2\Http;

$http = new Http();

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

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