# Module cloudi_timestamp

- Description
- Function Index
- Function Details

### Timestamp operations

.

Copyright © 2015-2016 Michael Truog

Version: 1.5.5 Mar 28 2017 19:21:40 ------------------------------------------------------------------------

Authors: Michael Truog (`mjtruog [at] gmail (dot) com`).

## Description

### Timestamp operations

## Function Index

microseconds/0 | #### Microseconds since the UNIX epoch. (The UNIX epoch is 1970-01-01T00:00:00).
microseconds_os/0 | #### Microseconds since an undefined point in time, from the hardware. .
milliseconds/0 | #### Milliseconds since the UNIX epoch. (The UNIX epoch is 1970-01-01T00:00:00).
milliseconds_os/0 | #### Milliseconds since an undefined point in time, from the hardware. .
seconds/0 | #### Seconds since the UNIX epoch. (The UNIX epoch is 1970-01-01T00:00:00).
seconds_filter/3 | #### Filter a list of seconds since the UNIX epoch.. The list is not ordered.
seconds_os/0 | #### Seconds since an undefined point in time, from the hardware. .
timestamp/0 | #### Return an Erlang VM timestamp. Not guaranteed to be strictly monotonically increasing (on Erlang >= 18.0).

## Function Details

### microseconds/0

`microseconds() -> non_neg_integer()`

#### Microseconds since the UNIX epoch.

(The UNIX epoch is 1970-01-01T00:00:00)

### microseconds_os/0

`microseconds_os() -> non_neg_integer()`

#### Microseconds since an undefined point in time, from the hardware.

### milliseconds/0

`milliseconds() -> non_neg_integer()`

#### Milliseconds since the UNIX epoch.

(The UNIX epoch is 1970-01-01T00:00:00)

### milliseconds_os/0

`milliseconds_os() -> non_neg_integer()`

#### Milliseconds since an undefined point in time, from the hardware.

### seconds/0

`seconds() -> non_neg_integer()`

#### Seconds since the UNIX epoch.

(The UNIX epoch is 1970-01-01T00:00:00)

### seconds_filter/3

`seconds_filter(L::[non_neg_integer()], SecondsNow::non_neg_integer(), MaxPeriod::pos_integer()) -> {Count::non_neg_integer(), NewL::[non_neg_integer()]}`

#### Filter a list of seconds since the UNIX epoch..

The list is not ordered.

### seconds_os/0

`seconds_os() -> non_neg_integer()`

#### Seconds since an undefined point in time, from the hardware.

### timestamp/0

`timestamp() -> erlang:timestamp()`

#### Return an Erlang VM timestamp.

Not guaranteed to be strictly monotonically increasing (on Erlang >= 18.0).

Generated by EDoc, Mar 28 2017, 19:21:40.