Fixing date and time