Mac-based Software for Conferencing, Guestbooks, Site Feedback, etc.

CONFERWEB USER GUIDE
ConferWeb Home Page


Software, documentation and data files copyright 1998-2004 Brian Johnson, Department of Architecture, University of Washington.

Date & Time Customization

NOTE: Under OS-9, date/time customization requires that you have installed the Date/Time OSAX from BIAP systems (see link under "OS-9 Requirements"). Under OS-X a (partial) implementation of this operation is internal to ConferWeb. The following discussion assumes the required OS support is present, if required.

If there is a datetime.tmpl file in your forum folder, the file controls the way in which all dates are formatted for the forum (i.e., in substitutions for <Confer_Cdate> and between <!--CW_MODDATE--> pairs). The default formatting string is:

    %m/%d/%y@%H:%M

Date & time format strings follow the ANSI C "strftime" conventions. You control the format using a string that mixes literal text (reproduced in the output string) combined with formatting sequences which are replaced according to the following scheme:

    %a Abbreviated weekday name.
    %A Full weekday name.
    %b Abbreviated month name.
    %B Full month name.
    %c The strftime() format string "%x %X".
    %d Day of the month as a decimal number.
    %H The hour (24-hour clock) as a decimal number from 00 to 23.
    %I The hour (12-hour clock) as a decimal number from 01 to 12
    %j The day of the year as a decimal number from 001 to 366
    %m The month as a decimal number from 01 to 12.
    %M The minute as a decimal number from 00 to 59.
    %p "AM" or "PM".
    %S The second as a decimal number from 00 to 59.
    %U The week number of the year as a decimal number from 00 to 52. Sunday is considered the first day of the week.
    %w The weekday as a decimal number from 0 to 6. Sunday is (0) zero.
    %W The week of the year as a decimal number from 00 to 51. Monday is the first day of the week.
    %x The date representation of the current locale.
    %X The time representation of the current locale.
    %y The last two digits of the year as a decimal number.
    %Y The century as a decimal number.
    %z The time zone name or nothing if it is unknown.
    %% The percent sign is displayed.

DateTime OSAX is available free for your use. It and its source code are provided free and without restrictions to all Mac users on the Internet by your friends at BIAP Systems, Inc., <http://www.biap.com/> (this site exists, but no longer houses this software).


©1995-2004 Brian R. Johnson, Dept. of Architecture, University of Washington