I've decided to reistall osx Mavericks on my MacBook, so I restarted my Mac clicking cmd ⌘+R. In recovery mode I erased the main hard drive so I can have a clean install.
Then I selected "Install OS X Maverics" and after asking my permission to "verify the installation with apple" I got this error:
An error occurred while preparing the installation. Try running this application again.
I restarted, and then it started the "Internet Recovery" mode, which now gives me the option to install OS X Mountain Lion instead of Mavericks, and gives me the same error every time.
I've checked the date through the terminal, and it is correct, but I am not in "PDT", I'm in "IDT" time zone.