---
title: system.time() function
description: system.time() returns the current system time.
url: https://docs.influxdata.com/flux/v0/stdlib/system/time/
estimated_tokens: 494
product: Flux
version: v0
---

# system.time() function

-   Flux 0.18.0+
-   View InfluxDB support

`system.time()` returns the current system time.

##### Function type signature

```js
() => time
```

For more information, see [Function type signatures](/flux/v0/function-type-signatures/).

## Examples

### Return a stream of tables with the current system time

```js
import "array"
import "system"

array.from(rows: [{time: system.time()}])
```

#### Related

-   [now() function](/flux/v0/stdlib/universe/now/)
-   [today() function](/flux/v0/stdlib/universe/today/)

[date/time](/flux/v0/tags/date/time/)
