---
updatedAt: 2025-12-05T18:41:41.000Z
agentTools:
  projectIndex: https://docs.observeinc.com/llms.txt
---

# from_seconds

Aliases: `timestamp_s`, `seconds` (deprecated).

```
from_seconds(number: numeric) -> timestamp
```

Given a numeric value representing seconds since epoch, return a timestamp of that point in time.

# Domain

This is a scalar function (calculates a single output value for a single input row).

# Categories

* [Time](function#time-functions)

# Examples

<OpalCodeBlock code={
`make_col out_s:from_seconds(in_fld)
`}/>

Treat in\_fld as seconds since epoch, and set out\_s to a timestamp representing that time.