Jump to content

Website Timestamp

Recommended Posts


I'm trying to gather a timestamp from another timezone but my results isn't displaying from what's on the website. I figured the inetread would pull the current timestamp and display the time using a consolewrite.

Local $timeStamp = InetRead("https://time.is/UTC")
ConsoleWrite("Current Time: " & $timeStamp)


Share this post

Link to post
Share on other sites

Thanks Danp2

I found this piece on the AutoIt forums that helped.

This piece in particular help 

; Convert system time to local time
    $tSystem = _Date_Time_GetSystemTime()
    $tLocal = _Date_Time_SystemTimeToTzSpecificLocalTime($tSystem)



Edited by aa2zz6

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.