public boolean SetPlayerBirthday(String player, Date bdate) {
		String datestr;
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
		datestr = sdf.format(bdate); 
		BirthdayRecord birthday = getPlayerRecord(player);

		String query;
		if (birthday == null) {
			query = "INSERT INTO birthdaygift (birthdayDate, player, lastGiftDate, lastAnnouncedDate) VALUES (?, ?, '', '')";
		} else {
			query = "UPDATE birthdaygift SET birthdayDate=? WHERE player=?";
		}
		dbcon.PreparedUpdate(query, new String[]{datestr, player.toLowerCase()});
		return true;
	}