R includes two date-time classes -- POSIXct and POSIXlt -- see ?DateTimeClasses.
?DateTimeClasses
With POSIXct, midnight will display only the date and time zone, though the full time is still stored.