FREESCO 0.3.x

ID #1231

How to set the time on FREESCO?

Check out the date command.

date --help
Usage: date [OPTION]... [+FORMAT]
or: date [OPTION] [MMDDhhmm[[CC]YY][.ss]]

-d, --date=STRING display time by STRING
-s, --set=STRING set time described by STRING
-u, --utc, --universal print or set Coordinated Universal Time
--help this page.
--version version

FORMAT controls the output.

%% a literal %
%a weekday (Sun..)
%A weekday (Sunday..)
%b month (Jan..)
%B month (January..)
%c (Sat Nov 04 12:02:33 EST 1989)
%d day (01..31)
%D date (mm/dd/yy)
%h same as %b
%H hour (00..23)
%I hour (01..12)
%j day of year (001..366)
%k hour ( 0..23)
%l hour ( 1..12)
%m month (01..12)
%M minute (00..59)
%n a newline
%p AM or PM
%r 12-hour (hh:mm:ss [AP]M)
%s seconds since 00:00:00, Jan 1, 1970
%S seconds (00..59)
%t tab field
%T 24-hour (hh:mm:ss)
%U week number of year, starting with Sunday (00..52)
%w day of week (0..6); 0 = Sunday
%W week number of year, starting with Monday (00..52)
%x date (mm/dd/yy)
%X time (%H:%M:%S)
%y year (00..99)
%Y year (1970...)
%Z time zone (e.g., EDT)

`date' pads numeric fields with zeroes.
Modifiers between `%' and a numeric fields.

`-' (hyphen) not pad field
`_' (underscore) pad field with spaces

Note: when the time service has been enabled in your FREESCO setup, you can use the synctime command to synchronize the clock with the confugured time server on the internet.

Last update: 2007-01-28 17:53
Author: Marc
Revision: 1.1

Print this record Print this record
Send to a friend Send to a friend
Show this as PDF file Show this as PDF file
Export as XML-File Export as XML-File

Please rate this entry:

Average rating: 1 from 5 (2 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry