Jump to content

Help with Gettime()


Hasher
 Share

Recommended Posts

Hi

I am converting an app from Actionscript to Autoit and have to use the the gettime() function . How do I get this to work in Autoit??

getTime (Date.getTime method)

public getTime() : Number

Returns the number of milliseconds since midnight January 1, 1970, universal time, for the specified Date object. Use this method to represent a specific instant in time when comparing two or more Date objects.

Availability: ActionScript 1.0; Flash Lite 2.0

Returns

Number - An integer.

Example

The following example uses the constructor to create a Date object based on the current time, and uses the getTime() method to return the number of milliseconds since midnight January 1, 1970:

var my_date:Date = new Date();

trace(my_date.getTime());

Any help much appricaited :-)

Firefox's secret is the same as Jessica Simpson's: its effortless, glamorous style is the result of — shhh — extensions!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...