You can do:
timeStamp.toLocalDateTime().toLocalDate();
Note that
timestamp.toLocalDateTime()will use theClock.systemDefaultZone()time zone to make the conversion. This may or may not be what you want.
You can do:
timeStamp.toLocalDateTime().toLocalDate();
Note that
timestamp.toLocalDateTime()will use theClock.systemDefaultZone()time zone to make the conversion. This may or may not be what you want.