@writetome51/get-ymd-hms (npm): 2 functions receive Date and return date/time as object containing ymd (year month day) and hms (hour minute second). One function does machine's local time, the other does UTC time.
Keywords: current|date|dates|times|object|date-format|date-formatting|javascript|typescript|utc|ymd-hms