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.