This script can be used to change the date and time if your Raspberry is not connected to a network or timeserver.
To do this, you need to enter the current date and time in the correct format. It will refresh after some seconds.
#Lunetikk | 03.04.2014 | Change date and time
read -p "Insert date like YYYY-MM-DD:" DATE
read -p "Insert time like HH:MM:SS:" TIME
sudo date -s "$DATE $TIME"