> For the complete documentation index, see [llms.txt](https://learnpython.strivemath.com/p5-python-web/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learnpython.strivemath.com/p5-python-web/reference/built-in-functions/second.md).

# second()

Gets system's second

### **Example**

<figure><img src="https://768248463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbs7pgU3AVBY06Rl9M31%2Fuploads%2FSsiMjaC1XuBLv5vsd0TA%2FSecond1().gif?alt=media&amp;token=548349d5-c372-439a-b4d5-97660abb1334" alt=""><figcaption></figcaption></figure>

```python
text('Computer Seconds:',200,250)
text(second(), width/2, height/2)
```

### Syntax

`second()`

### Description

It communicates with the clock on your computer and returns the **current second** of the minute as an integer, ranging from **0 to 59**.

{% hint style="info" %}
Find these documents helpful? Let the people who made them help your child learn to code at [**Strivemath**](https://www.strivemath.com/)<mark style="color:blue;">**!**</mark>

We'd love to hear your Feedback/Comments [here](https://docs.google.com/forms/d/e/1FAIpQLSeqorBAGTya-YBRI-VFjJxtgQtCz3ucGDI96K96sNyuaGuvdw/viewform?usp=sf_link).
{% endhint %}
