If you’ve got a new javsacript date picker widget that uses Date object you will have encountered the problem where a universal date will be affected by timezone: say Date of Birth - 01/01/1977 can become 31/12/1976 when it’s posted to the server depending on the client’s timezone.

Solution - I’ve used momentjs to transform to UTC and keep the local time:

moment(date).utc(true)