LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   setting the date (https://www.linuxquestions.org/questions/linux-general-1/setting-the-date-21688/)

Nyc0n 05-24-2002 12:35 AM

setting the date
 
im using slackware 8.0....what is the command to set the date? and probably the time for that matter....

nyc0n

Mara 05-24-2002 01:30 AM

The command to use is time.

Mik 05-24-2002 02:56 AM

'time' is used for timing the execution of a command. I don't think that's what you where asking. You can use the 'date' command for setting the time and the date.

Ex.

date 052408002002.00

The format is "mmddHHMM[[cc]yy][.ss]", but 'man date' should explain all that.


All times are GMT -5. The time now is 01:58 AM.