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.
#!/bin/sh#Lunetikk | 03.04.2014 | Change date and timeread-p"Insert date like YYYY-MM-DD:" DATE
read-p"Insert time like HH:MM:SS:" TIME
sudodate-s"$DATE$TIME"sudo fake-hwclock