Sample code for 30+ languages & platforms
Unicode C

Example: Http.GenTimeStamp method

Demonstrates the GenTimeStamp method.

Chilkat Unicode C Downloads

Unicode C
#include <C_CkHttpW.h>

void ChilkatSample(void)
    {
    HCkHttpW http;
    const wchar_t *timestamp;

    http = CkHttpW_Create();

    //  Return current date/time in the following format: Day, DD Mon YYYY HH:MM:SS GMT
    timestamp = CkHttpW_genTimeStamp(http);
    wprintf(L"%s\n",timestamp);

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


    CkHttpW_Dispose(http);

    }