03/07/85 Time Strings This segment describes the format of time strings accepted by the convert_date_to_binary_ subroutine. Dates in the range 0001-01-01 through 9999-12-31 (GMT) are handled. Normal dates: EXAMPLE FORMAT December 15, 1979 month_name dd, year December 15 1979 (comma optional) December 15 (year optional) 15 April 1844 dd month_name year 15 Avril (year optional) 04/01/1582 mm/dd/year 12/15/1979 mm/dd/year 12/15/79 mm/dd/yy (century optional) 12/15 (yy optional) Calendar dates: 1979-12-15 year-mm-dd 1776-07-04 79-12-15 yy-mm-dd 24-hour times: 1545.715 hhmm.m 1545. (fraction optional but . required) 745. hmm.m 15:45:42.0856 hh:mm:ss.s 15:45:42 (fraction optional) 15:45 (seconds optional) 7:45 h:mm 7:2 h:m 12-hour times: 24-hour times with colon, but followed by meridiem designator which may be: am (or a), pm (or p), noon (or n), midnight (or m). Hour number may not exceed 12. 11:07:30.5 pm hh:mm:ss.s meridiem 5:45 am h:mm meridiem 5A h meridiem 12 n 12 half-day-meridiem midnight half-day-meridiem Day of week: can be the name of a day of the week. If the date is given, the date must fall on the named day of week. If the date is not given, then day of the week acts as an offset. Offsets: amount of time added to other clock values. It is expressed as an optionally signed fixed point number, followed by a time unit. One or more of following offset units may be given: SINGULAR PLURAL ABBREVIATION microsecond microseconds usec second seconds sec minute minutes min hour hours hr day days da week weeks wk month months mo year years yr Offsets are applied in the following order-- day-of-week (as an offset) year month week, day, hour, minute, second, microsecond Time zone: Here are a few of the zones available. For a complete list, type "display_time_info -zones". GMT, Greenwich Mean Time EST, Eastern Standard Time EDT, Eastern Daylight Time Instead of a zone name, a zone designator may be used, i.e. "10A-0700". A zone designator consists of a sign, 2 digits of hour and 2 digits of minute. It must always follow a time specification. Adverbial offsets: Adverbial clauses which precede a traditional time string. They can have the format: on or after on or before after or on before or on before after Keywords: now can be used instead of a time, to indicate the current time of day, in the working zone. today can be used instead of a date to indicate today's date. Yesterday and tomorrow can also be used, to indicate 1 day before today and 1 day after today. "this xxx": The xxx are units used to form a date or time. The "this xxx" form is used in place of a part of a date or time value, to indicate that the current value should be used at that point. Miscellany: 841013124523.982222 request id, both date and time FW198412 fiscal week now today tomorrow yesterday Notes: Alphabetic fields may be uppercase or lowercase, and may be abbreviated. The allowable abbreviations are as defined in time_info_ for the various languages it supports. Some languages may not have any defined short form. Spaces are not required between alphabetic and numeric fields, but are required between two numeric fields unless the second number begins with a plus (+) or minus(-) sign. Underscores may be used in place of spaces to facilitate typing of time strings in command lines. Day, month, and zone names are shown here in English, but they may be given in any language which is defined in the system time_info_ table. In a given string, all names must be in the same language. Command examples: day_name -1 day (prints day name of yesterday) time 2.5dia -20minuto (prints the time 20 minutes ago 2-1/2 days from now) time -5 hours (prints the time 5 hours ago) date 10/1 -1 day +1 month (assuming today is 9/25/79, prints 10/31/79) date [month]/1/[year]+1month-1day (prints date of last day of this month) list -from [month]/1/[year]_midnight (lists files modified since first of this month, at midnight) Time string examples: Tue after Mon on or after Nov 1 (election day) 5 hours 27 minutes after now today 13:00 1 day before today (yesterday) this month 1, this year (the first day of this month) this_month/1/this_year (the first day of this month) this_hour:30 (the half hour point of the current hour) ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group BULL including BULL HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, BULL or BULL HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by BULL HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved