geotau3 Posted December 18, 2016 Share Posted December 18, 2016 how can get different between to time entry either by mill second or by second Link to comment Share on other sites More sharing options...
AlecSadler Posted December 18, 2016 Share Posted December 18, 2016 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 Link to comment Share on other sites More sharing options...
geotau3 Posted December 18, 2016 Author Share Posted December 18, 2016 no it will not work like the entry 9:30 AM and 9:55 AM or 3:55 PM and 9:30 AM Link to comment Share on other sites More sharing options...
Developers Jos Posted December 18, 2016 Developers Share Posted December 18, 2016 Look at _DateDiff(), but you need to get rid of the AM/PM part and recalculate that back to a 24 time in the format HH:MM Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now