Fix #2: Everything changes but the day numeric

Did not realise that the new Date() object was created with the timezone of the client (user). This has now been amended to allow for the datetime to be created client-side and to then offset the object if the serverDatetime is set to true.