Timestamp()

Simple class for formatting epoch milliseconds into a short-handed format.

new Timestamp()

Methods

static format(date) → {string}

Formats a Date Object into a shorthand date/time format.
Parameters:
Name Type Description
date Date A Javascript Date Objected, created by doing new Date()
Returns:
string - The newly created titmestamp for this date object.