Reference guides are available for functions and commands supported by OML, Tcl, and Python.
The Reference Guide contains documentation for all functions supported in the OpenMatrix language.
Discover new features and enhancements.
Discover Compose, including its language support and system requirements.
The Compose tutorials and associated example model files help introduce you to the basic functionality of the software.
Learn about the features and functionality available in Compose.
OpenMatrix is a mathematical scripting language.
Returns the current date and time.
Returns time as a string in local time, for the given time, t, in seconds.
Returns the day and time input as a number of days since January 1, 0000.
Returns the day of a given date string, s.
Returns the hours in a given date string, s.
Returns the minutes in a given date string, s.
Returns the month of a given date string, s.
Returns the number of days from January 1, 0000 and the current time in seconds as a double.
Returns the quarter that a given date string, s falls in.
Returns the seconds in a given string, s.
Pauses the current execution for n seconds.
Sets an internal clock.
Returns current time in seconds from the epoch January 1, 1970.
Calls to toc return the elapsed time since tic was called.
Returns the year of a given date string, s.