Sample code for 30+ languages & platforms
VBScript

Example: Http.GenTimeStamp method

Demonstrates the GenTimeStamp method.

Chilkat VBScript Downloads

VBScript
Dim fso, outFile
Set fso = CreateObject("Scripting.FileSystemObject")
'Create a Unicode (utf-16) output text file.
Set outFile = fso.CreateTextFile("output.txt", True, True)

set http = CreateObject("Chilkat.Http")

' Return current date/time in the following format: Day, DD Mon YYYY HH:MM:SS GMT
timestamp = http.GenTimeStamp()
outFile.WriteLine(timestamp)

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

outFile.Close