MilliSecs : How do I count seconds

BlitzMax Forums/BlitzMax Beginners Area/MilliSecs : How do I count seconds

Hi,
I want a function to run for x seconds.I believe that MilliSecs() counts from the start of the application.I want to be able to specify that a function runs for x seconds at any point in the program.I could pass this paramater to the function but the code eludes me.Any suggestions ?