Sample code for 30+ languages & platforms
Lua

Example: Http.GenTimeStamp method

Demonstrates the GenTimeStamp method.

Chilkat Lua Downloads

Lua
local chilkat = require("chilkat")

local http = chilkat.Http.new()

-- Return current date/time in the following format: Day, DD Mon YYYY HH:MM:SS GMT
local timestamp = http:gen_time_stamp()
print(timestamp)

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