private Timestamp getTime(int serviceNumber) {
		Date currentDatetime = new Date(System.currentTimeMillis());
		Timestamp timestamp =  new Timestamp(currentDatetime.getTime());
		Timestamp ts = null;
		try
		{
			stmt = conn.prepareStatement("SELECT TimeRequired FROM SERVICE_DATA WHERE idService = ?");
			stmt.setInt(1, serviceNumber);
			ResultSet rs = stmt.executeQuery();
			if(rs.next()) {
				ts = rs.getTimestamp(1);
			}
		} catch (SQLException e)
		{
			e.printStackTrace();
		}
		return ts;
	}