Java Utililty Methods SQL Date to String

List of utility methods to do SQL Date to String

Description

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

Method

StringtoStringTH(Date date, String dateFormat)
to String TH
SimpleDateFormat formatter = new SimpleDateFormat(dateFormat, new java.util.Locale("th", "TH"));
return formatter.format(date);
StringtoStringValue(Date date)
to String Value
if (date == null)
    return null;
return date.toString();