The law of detachment states that
If p implies q and if it is true, then
if p is true,
q is also true
Looking at the given scenario,
The day being nice implies that your parents will take you to the beach
Given that your parents took you to the beach, the conclusion is
It is a nice day