---
name: "function::msecs_to_string"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::msecs_to_string"
---

# function::msecs\_to\_string(3stap)

Human readable string for given milliseconds

## NAME

function::msecs\_to\_string - Human readable string for given milliseconds

## SYNOPSIS

```
    msecs_to_string:string(msecs:long)
```

## ARGUMENTS

*msecs*

Number of milliseconds to translate.

## DESCRIPTION

Returns a string representing the number of milliseconds as a human readable string consisting of “XmY.ZZZs”, where X is the number of minutes, Y is the number of seconds and ZZZ is the number of milliseconds.

## SEE ALSO0

[*tapset::task\_time*(3stap)](/tapset::task_time/3stap.md)
