Jump to content
Sign in to follow this  
Guest bertsmelik

Timeinit base time

Recommended Posts

Guest bertsmelik

Hi there,

Not really a bug, but something the developer or expert user should be able to answer!

Using AutoIT V3.

I am trying to write a script to generate a timestamp for EPG update of SageTV. I was thinking of using AutoIT's Timeinit () function to figure out the current time in milliseconds. The number I get is confusing though.

Can anyone help me understand what the time in milliseconds is actually based on? Is there a base date/time the number is relative to?

Many thanks, Bert

Share this post


Link to post
Share on other sites
this-is-me

It is the system uptime. If you parse it out by dividing by 1000 to get seconds, dividing again by 60 to get minutes, etc. then you will come up with the amount of time the system has been on.


Who else would I be?

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
Sign in to follow this  

×

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.