As discussed a couple of pages ago, it's only from tomorrow (assuming you mean head sock; regular socks are still allowed to be worn).
If the UCI had a sense of humour, they would have told the riders this morning that regular feet-socks are now disallowed.
Of course, revealing the prank before the start of the race.