Sign in to follow this  
Followers 0
Kovitt

Comparing Time[Resolved]

3 posts in this topic

#1 ·  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

Share this post


Link to post
Share on other sites



#2 ·  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.

Share this post


Link to post
Share on other sites

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!

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  
Followers 0