rel8-1.0.0.1: Hey! Hey! Can u rel8?

Rel8.Expr.Time

Synopsis

# Working with Day

Corresponds to date(now()).

Corresponds to calling the date function with a given time.

Corresponds to x::timestamptz.

Move forward a given number of days from a particular day.

Find the number of days between two days. Corresponds to the - operator.

Subtract a given number of days from a particular Day.

# Working with UTCTime

Corresponds to now().

Add a time interval to a point in time, yielding a new point in time.

Find the duration between two times.

Subtract a time interval from a point in time, yielding a new point in time.

# Working with CalendarDiffTime

An interval of one second.

Create a literal interval from a number of seconds.

An interval of one minute.

Create a literal interval from a number of minutes.

An interval of one hour.

Create a literal interval from a number of hours.

An interval of one day.

Create a literal interval from a number of days.

An interval of one week.

Create a literal interval from a number of weeks.

An interval of one month.

Create a literal interval from a number of months.

An interval of one year.

Create a literal interval from a number of years.