Sample code for 30+ languages & platforms
Node.js

Example: Http.GenTimeStamp method

Demonstrates the GenTimeStamp method.

Chilkat Node.js Downloads

Node.js
NODEJS_PRELUDE

function chilkatExample() {

    var http = new chilkat.Http();

    //  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

}

chilkatExample();