Can stealth access Internet Time Server by socket whatever language .
I need get GMT time for use.
Many delphi component cant use in stealth's pascal script,like Winsocket.
So I think pascal can't call windows api ,really?
I ever saw somebody create a Tform windows in this forum,but i forget which language he use.pascal?python?
How about python of same requirement?
Python maybe could get GMT time or call windows api,but I am not familiar with python.
Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7
Can stealth Get GMT time use whatever language?
Re: Can stealth Get GMT time use whatever language?
stealth api provides http client, so you can use some web-service to retrieve GMT time.
in python you can get gmt time like this:
Code: Select all
res := HTTP_Post(StealthPageURL, PostList); //function HTTP_Post(URL : String; PostData: TStringList) : String
Code: Select all
from datetime import datetime
dt = datetime.utcnow()
Новый стелс лежит тут. Стелс это произведение искусства!
Re: Can stealth Get GMT time use whatever language?
thank you .I will try both methods.