Icelandic culture has its roots in North Germanic traditions. Icelandic literature is popular, in particular the sagas and eddas that were written during the High and Late Middle Ages. Centuries of isolation have helped to insulate the country's Nordic culture from external influence; a prominent example is the preservation of the Icelandic language, which remains the closest to Old Norse of all modern Nordic languages.In contrast to other Nordic countries, Icelanders place relatively great importance on independence and self-sufficiency; in a public opinion analysis conducted by the European Commission, over 85% of Icelanders believe independence is "very important," compared to 47% of Norwegians, 49% of Danes, and an average of 53% for the EU25. Icelanders also have a very strong work ethic, working some of the longest hours of any industrialised nation.According to a poll conducted by the OECD, 66% of Icelanders were satisfied with their lives, while 70% believed that their lives will be satisfying in the future. Similarly, 83% reported having more positive experiences in an average day than negative ones, compared to an OECD average of 72%, which makes Iceland one of the happiest countries in the OECD. A more recent 2012 survey found that around three quarters of respondents stated they were satisfied with their lives, compared to a global average of about 53%.Iceland is liberal with regard to LGBT rights issues. In 1996, the Icelandic parliament passed legislation to create registered partnerships for same-sex couples, conferring nearly all the rights and benefits of marriage. In 2006, parliament voted unanimously to grant same-sex couples the same rights as heterosexual couples in adoption, parenting and assisted insemination treatment. On 11 June 2010, the Icelandic parliament amended the marriage law, making it gender neutral and defining marriage as between two individuals, making Iceland one of the first countries in the world to legalise same-sex marriages. The law took effect on 27 June 2010. The amendment to the law also means registered partnerships for same-sex couples are now no longer possible, and marriage is their only option—identical to the existing situation for opposite-sex couples.Icelanders are known for their deep sense of community: An OECD survey found that 98% believe they know someone they could rely on in a time of need, higher than in any other industrialised country. Similarly, only 6% reported "rarely" or "never" socialising with others. This high level of social cohesion is attributed to the small size and homogeneity of the population, as well as to a long history of harsh survival in an isolated environment, which reinforced the importance of unity and cooperation.Egalitarianism is highly valued among the people of Iceland, with income inequality being among the lowest in the world. The constitution explicitly prohibits the enactment of noble privileges, titles, and ranks. Everyone is addressed by their first name. As in other Nordic countries, equality between the sexes is very high; Iceland is consistently ranked among the top three countries in the world for women to live in.

Question: when was the law enacted?
Answer: 27 June 2010