public static Date getDateFrom(String urlstr) 
	{
		long ld = 0;
		try {
			URL url = new URL(urlstr);
			URLConnection uc = url.openConnection();
			uc.connect();
			ld = uc.getDate();
		} catch (Exception e) {
			e.printStackTrace();
			System.err.println("Get time error");
		}
		return new Date(ld);
	}