JavaScript
JavaScript
Example: Http.GenTimeStamp method
Demonstrates theGenTimeStamp method.
Note
This example is intended for running within a Chilkat.Js embedded JavaScript engine. All Chilkat JavaScript examples require Chilkat
v11.4.0 or greater.
var http = new CkHttp();
// Return current date/time in the following format: Day, DD Mon YYYY HH:MM:SS GMT
var timestamp = http.GenTimeStamp();
console.log(timestamp);
// Sample Output:
// Thu, 21 Aug 2025 11:17:31 GMT