Jump to content

_TimeToTicks explanation


AlmarM
 Share

Recommended Posts

Hi,

Whats _TimeToTicks exactly?

I just cant figure out. :)

AlmarM

EDIT: Oh and _TicksToTime :o

Edited by AlmarM

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Link to comment
Share on other sites

Converts the specified hours, minutes, and seconds to ms.

#include <Date.au3>

$iHours = 00
$iMins = 00
$iSecs = 01

$StartTicks = _TimeToTicks($iHours,$iMins,$iSecs)
ConsoleWrite($iHours&":"&$iMins&":"&$iSecs&@cr)
ConsoleWrite($StartTicks &@cr)
Link to comment
Share on other sites

So _TimeToTicks converts for example @HOUR:$MIN:$SEC into MS

And _TicksToTime converts MS into $HOUR:$MIN:$SEC ?

AlmarM

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

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...