If you use this library in a publication, please cite it in one or both of the following two ways: RTClib institutes a convenient RTClib::now() function for receiving a date/time snapshot, as a DateTime object, from the DS3231 device.The latter is handy for doing arithmetic with dates. as distinct values for year, month, day, hour, minute and second, or.A variable of the DateTime type can represent a specific date and time in two different ways: DateTime enables a versatile object for managing date and time data.The Library incorporates two other classes to assist with managing date and time data: