Results 1 to 4 of 4
hello everybody
actually i am using linux almost 2 years
you know i am very fanatic with GNOME
can ask you something
how using date ?
could you give me ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-05-2004 #1Just Joined!
- Join Date
- Feb 2004
- Location
- Indonesia
- Posts
- 84
date, hours, minutes, seconds
hello everybody
actually i am using linux almost 2 years
you know i am very fanatic with GNOME
can ask you something
how using date ?
could you give me some sample for me
i want to set date, hours, minutes, seconds
thanks for your concerning my questions
- 02-05-2004 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
If you want to set the date to what is currently the time here at least, use this command:
That is: 02 = February, 05 = The fifth day in Feb, 16 = the hour, 24 = the minute, 2004 = the year and .35 = the seconds.Code:date 020516242004.35
Is that what you meant?
- 02-06-2004 #3Linux Engineer
- Join Date
- Apr 2003
- Location
- Sweden
- Posts
- 796
You can also reformat the actual date in a number of ways.... like this
Code:DATE=`date +20%y.%m.%d` Will give you 2004.02.06 TIME=`date +%H:%M:%S` Will give you 09:28:33
Regards
Andutt
- 02-06-2004 #4Just Joined!
- Join Date
- Feb 2004
- Location
- Indonesia
- Posts
- 84
wow ...........
after typed 020619432004.15 what you advised to me it works,
thanks


Reply With Quote
