Platforms to show: All Mac Windows Linux Cross-Platform

Back to ConsoleApplication class.

ConsoleApplication.LaunchTimeMBS as double

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Process MBS Util Plugin 19.4 ✅ Yes ❌ No ❌ No ❌ No Console only
Returns the the ticks value at launch time.
Example
dim d as date

d=new date
d.totalSeconds=d.totalSeconds-(ticks-app.launchTimeMBS)/60

msgbox d.longdate+" "+d.longtime

This value must be converted to the secondsvalue like in the example.
-1 on Windows.
For Mac OS X see the DarwinResourceUsageMBS class.

Works for Console, Desktop and Web projects. Version 19.4 declares this method for ConsoleApplication and Application class.

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...