Sample code for 30+ languages & platforms
Rust

Example: Http.GenTimeStamp method

Demonstrates the GenTimeStamp method.

Chilkat Rust Downloads

Rust
let http = chilkat::Http::new();

// Return current date/time in the following format: Day, DD Mon YYYY HH:MM:SS GMT
let timestamp = http.gen_time_stamp().unwrap_or_default();
println!("{}", timestamp);

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