Java
Chilkat2 Java
Example: Http.GenTimeStamp method
Demonstrates theGenTimeStamp method.
Chilkat Java Downloads
import com.chilkatsoft.chilkat2.Http;
public class ChilkatExample {
public static void main(String[] args) {
Http http = new Http();
// Return current date/time in the following format: Day, DD Mon YYYY HH:MM:SS GMT
String timestamp = http.genTimeStamp();
System.out.println(timestamp);
// Sample Output:
// Thu, 21 Aug 2025 11:17:31 GMT
}
}