PowerBuilder
PowerBuilder
Example: Http.GenTimeStamp method
Demonstrates theGenTimeStamp method.
Chilkat PowerBuilder Downloads
integer li_rc
oleobject loo_Http
string ls_Timestamp
loo_Http = create oleobject
li_rc = loo_Http.ConnectToNewObject("Chilkat.Http")
if li_rc < 0 then
destroy loo_Http
MessageBox("Error","Connecting to COM object failed")
return
end if
// Return current date/time in the following format: Day, DD Mon YYYY HH:MM:SS GMT
ls_Timestamp = loo_Http.GenTimeStamp()
Write-Debug ls_Timestamp
// Sample Output:
// Thu, 21 Aug 2025 11:17:31 GMT
destroy loo_Http