JMDash Time

The JMDash Time library is basically JM-'s own version of C++'s <ctime>, and can be included in a JM- Project using: #incd .jtime

If something isn't clear about the syntax shown below, we recommend you to check out the examples category

Syntax & Examples

Here's a list of every function included in the .jtime library;

// tm.local{} Stands for 'Time.Local'
// Used to store the current local time
// Syntax (spaced): tm.local.<dataType>{ >> <outputVarName> };
#incd .jtime
str timeString; int timeInteger;
tm.local.str{>> timeString}; // Output var: HH-MM-SS:DD-MM-YYYY
// tm.sclc{} Stands for 'Time.SinceLaunch'
// Used to store the amount of time that passed since program launch
// Syntax (spaced): tm.sclc{ >> <outputStringName> };
#incd .jtime
str timeSinceLaunch;
tm.sclc{>> timeSinceLaunch}; // Output var: HH-MM (e.g. 00-05 for 5 minutes)

Last updated

Was this helpful?