Sep 23, 2019 · I've been experimenting with the DateTime deserialization and have some strange behaviour. Using this code: DataContractJsonSerializer dcjs = new DataContractJsonSerializer(typeof(DateTime)); DateTime dateTime = new DateTime(1970, 1, 1, 0, 0, 0, 0).ToUniversalTime(); Oct 19, 2017 · The Date object is a built-in object in JavaScript that stores the date and time. It provides a number of built-in methods for formatting and managing that data. By default, a new Date instance without arguments provided creates an object corresponding to the current date and time. The Date object is a datatype built into the JavaScript language. Date objects are created with the new Date( ) as shown below. Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and ...