I am using this code to get current date to string, however, the date it gets is 1899-12-31
how is this possible?
// save date
String date = new SimpleDateFormat("yyyy-MM-dd")
.format(new Date(0, 0, 0));
file.writeToSD("Date: " + date.toString());