> For the complete documentation index, see [llms.txt](https://jmdash.gitbook.io/jmdash-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jmdash.gitbook.io/jmdash-docs/jmbasics/syntax101/calling-functions/other-libraries/jmdash-time.md).

# 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](/jmdash-docs/examples/code-examples.md)

## Syntax & Examples

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

{% code lineNumbers="true" %}

```c
// 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
```

{% endcode %}

{% code lineNumbers="true" %}

```c
// 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)
```

{% endcode %}
