Code example for Time

Methods: getTime

0
		SimpleDateFormat d = new SimpleDateFormat("dd/mm/yyyy");
		return d.format(date);
	} 
 
	public long timeToLong(java.sql.Time date) {
		return date.getTime();
	} 
 
	public Time longToTime(long date) {
 
		Time t = new Time(date);
 
		return t;
	} 
 
	public Date stringToDate(String date) {
		SimpleDateFormat d = new SimpleDateFormat("dd/mm/yyyy");
		Date dt = null;
		try { 
			dt = d.parse(date);
		} catch (ParseException e) {