Android Utililty Methods Date Format String Create

List of utility methods to do Date Format String Create

Description

The list of methods to do Date Format String Create are organized into topic(s).

Method

StringgetMySQLDateFormat()
get My SQL Date Format
Calendar now = Calendar.getInstance();
int month = now.get(Calendar.MONTH) + 1;
int day = now.get(Calendar.DAY_OF_MONTH);
int year = now.get(Calendar.YEAR);
return year + "-" + month + "-" + day;