File: time-date.el.html

Time values come in several formats. The oldest format is a cons cell of the form (HIGH . LOW). This format is obsolete, but still supported. The other formats are the lists (HIGH LOW), (HIGH LOW USEC), and (HIGH LOW USEC PSEC). These formats specify the time value equal to HIGH * 2^16 + LOW + USEC * 10^-6 + PSEC * 10^-12 seconds, where missing components are treated as zero. HIGH can be negative, either because the value is a time difference, or because it represents a time stamp before the epoch. Typically, there are more time values than the underlying system time type supports, but the reverse can also be true.

Defined variables (2)

seconds-to-stringFormatting used by the function ‘seconds-to-string’.
seconds-to-string-readableFormatting used by the function ‘seconds-to-string’ with READABLE set.

Defined functions (27)

date-days-in-month(YEAR MONTH)
date-leap-year-p(YEAR)
date-ordinal-to-time(YEAR ORDINAL)
date-to-day(DATE)
date-to-time(DATE)
days-between(DATE1 DATE2)
days-to-time(DAYS)
decoded-time--alter-day(TIME INCREASE)
decoded-time--alter-month(TIME INCREASE)
decoded-time--alter-second(TIME SECONDS)
decoded-time-add(TIME DELTA)
decoded-time-period(TIME)
decoded-time-set-defaults(TIME &optional DEFAULT-ZONE)
encode-time-value(HIGH LOW MICRO PICO &optional TYPE)
format-seconds(STRING SECONDS)
make-decoded-time
safe-date-to-time(DATE)
seconds-to-string(DELAY &optional READABLE ABBREV PRECISION)
seconds-to-time(SECONDS)
subtract-time(A B)
time-date--day-in-year(TIM)
time-since(TIME)
time-to-day-in-year(TIME)
time-to-days(TIME)
time-to-number-of-days(TIME)
time-to-seconds(&optional SPECIFIED-TIME)
with-decoded-time-value(VARLIST &rest BODY)

Defined faces (0)