C
C
Example: Http.GenTimeStamp method
Demonstrates theGenTimeStamp method.
Chilkat C Downloads
#include <C_CkHttp.h>
void ChilkatSample(void)
{
HCkHttp http;
const char *timestamp;
http = CkHttp_Create();
// Return current date/time in the following format: Day, DD Mon YYYY HH:MM:SS GMT
timestamp = CkHttp_genTimeStamp(http);
printf("%s\n",timestamp);
// Sample Output:
// Thu, 21 Aug 2025 11:17:31 GMT
CkHttp_Dispose(http);
}