Jump to content

Recommended Posts

Posted (edited)

Hello,

How would you guys go about comparing two times?

I need to ba able to tell if a time(stored in a variable) was within the last ten minutes.

The time format is 11:59:51 29-Jul-2008, and I need to get the time from the computer then compare the two.

Thanks for the help guys!

Edited by Kovitt
Posted (edited)

_TimeToTicks

_TicksToTime

TimerInt()

TimerDiff()

Edit: typed a function name wrong.

Edited by jokke
UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt.
Posted

Nvm I figured it out...

I ended up using @Hour & @Min and using a string reg to separate the time I had stored..

May not be the best way, but it works.

Thanks for your time!

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
  • Recently Browsing   0 members

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