Ruby
Ruby
Example: Http.GenTimeStamp method
Demonstrates theGenTimeStamp method.
Chilkat Ruby Downloads
require 'chilkat'
http = Chilkat::CkHttp.new()
# Return current date/time in the following format: Day, DD Mon YYYY HH:MM:SS GMT
timestamp = http.genTimeStamp()
print timestamp + "\n";
# Sample Output:
# Thu, 21 Aug 2025 11:17:31 GMT