> 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()

### **Example**

<figure><img src="/files/GEF0phStJfydUIJeg7CT" 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 %}
