I am new to Android Development, and am trying to figure out how I can incorporate the current date (as set on the device) in to the Java code. I have my minimum API set as 10, which needs to be kept to, but can only figure out how to do it using "getInstance()" which requires an API level of 24. Is there a way of doing this that is compatible with API 10? Thanks in advance.
Please note, the answer provided at How can I get current date in Android? requires API Level 24, due to the "getInstance()", so does not work.