Get current date in java

Is there a way to get the current date of the mongodb system / cluster? For eg: in oracle, we can do:

select sysdate from dual;

Am interested in getting it from the java spring-data API.

As of now, we do it on the client and send it to MongoDB:
LocaleDataTime.now()