Jump to content
geotau3

how can get different between to time entry

Recommended Posts

geotau3

how can get different between to time entry 

either by mill second or by second  

Share this post


Link to post
Share on other sites
AlecSadler

The simplest way I can think to do this is change both values to ticks and simply subtract one from the other.

 

Example:

func _ticksDifference($time)
$timeA = $time
$timeB = _Date_Time_GetTickCount()

Return $timeB - $timeA
endfunc

 

Share this post


Link to post
Share on other sites
geotau3

no it will not work 

like the entry 9:30 AM and 9:55 AM 

or 3:55 PM and 9:30 AM  

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

×