About the timestamp-time category

timestamp-time:
[ This description is mirrored from README.md at github.com/DamandeepS/timestamp-time on 2019-05-22 ]

<timestamp-time>

use timestamp to display time

timestamp-time
use timestamp to display date/time

usage <timestamp-time></timestamp-time>

<timestamp-time utc type="Date" timestamp="1498312215357"></timestamp-time>

Attributes

Attribute Datatype Description
utc (optional) Boolean shows UTC date/time if attribute is present
type (optional) String date or time, if we want Date or Time, else Full String
timestamp Required Number Timestamp you want to convert, Or else it’ll take current time