ok, lets say you want to create a file using the the date format for the filename

for example a file that looks like this:

12345678.txt

well, if this is what you want to do, follow the steps provided here by Webune Support Team.

Webune Offers Linux Dedicated Server!!!!

you use this command to create a file from the date:

echo "Webune Web Hosting" > `date +%m%d%Y`.txt


done

hope that works




if you wanted to display the date into one whole string you can use this command

if you wanted to display the date into one whole string you can use this command:

date +%m%d%Y


it will display this:

01072008



in my case right now its Jan 07 2008 so it displays 01072008 this is how i break it down:

01 = (month)
07 = (day)
2008 =(year)

i think this is similar to php time() function