Rust
Rust
Example: Http.GenTimeStamp method
Demonstrates theGenTimeStamp method.
Chilkat Rust Downloads
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