Self Date.from_object (Object obj) vs. 1.1.0 Full+Lite

Create a date from a given JavaScript object.

Parameters

Object obj vs. 1.1.0 Full+Lite
A JavaScript object with the date properties.

Return

Self Required vs. 1.1.0 Full+Lite
The original date modified based on the passed object.

Examples

Using Date.from_object(obj)
Demo: