Function: epg--time-from-seconds

epg--time-from-seconds is a function alias for string-to-number, defined in data.c.

Signature

(epg--time-from-seconds STRING &optional BASE)

Documentation

Parse STRING as a decimal number and return the number.

Ignore leading spaces and tabs, and all trailing chars. Return 0 if STRING cannot be parsed as an integer or floating point number.

If BASE, interpret STRING as a number in that base. If BASE isn't present, base 10 is used. BASE must be between 2 and 16 (inclusive). If the base used is not 10, STRING is always parsed as an integer.

Aliases

erc-string-to-emacs-time (obsolete since 27.1) epg--time-from-seconds