:: Datum in die Textdatei date /t > datum.txt :: Und wieder raus (geht nur als Admin) date < datum.txt