Appendix C. Time Formats

Several fields throughout EnlightenDSM require the entry of a date and time. This date and time can be specified in two ways: absolutely or relatively.

The absolute method is used to enter a specific period of time. To search for a file created since May 10, 1996, at 12 noon, you could use the entry: May 10 96 at 12:00. To search for a file created between two specific times and dates, you would enter both those times and dates in the appropriate fields. The absolute method is the only way to search for a combined date/time format.

The relative method specifies a span of time, such as days or months, to be used in a search against the current system clock. To find users who have been logged in during the last three days, you could use the entry: 3 days. The relative method is strictly a time OR date format: for example, 2 seconds OR 1 month.

With either method, the format is case-insensitive. For example, you could use JAN, Jan, or jan as the abbreviation for the month of January.

This appendix shows all the BNF time measurements in initial caps (e.g., Jan or January, 2 Sec or 2 Seconds, etc.).

Examples:

Absolute:

15 1996 (defaults to the current month)
Jan 1 97
July 4 (defaults to the current year) 
June 15 at 3 PM (defaults to the current year)
June 16 at 2 AM (defaults to the current year)
June 17 96 at 15:31
18 at 9:31:14 AM (defaults to current month AND year)

Relative:

1 second
5 Min
1 day
2 weeks
1 Year

The rest of this appendix defines the time formats used to fill in a date and/or time field.

Absolute Date/Time BNF

<Absolute Date> = (<Month>) <Day Of Month> (<Year>) 
(“at” <Time>)

<Month> = <Long Month> | <Abr Month>
<Long Month> = “January” | “February” | “March” | “April” | “May” | “June” | “July” | “August” | “September” | “October” | “November” | 
“December”
<Abr Month> = “Jan” | “Feb” | “Mar” | “Apr” | “May” | “Jun” | “Jul” | “Aug” | “Sep” | “Oct” | “Nov” | “Dec”

<Day Of Month> = 1 ... 31
<Year> = 19xx | xx

<Time> = <Hour> (“:”< Minutes>) (“:”< Seconds>)

<Hour> = <12 Hour> | <24 Hour>
<12 Hour> = <12 Hours> “AM” | “PM”
<24 Hour> = <24 Hours>

<12 Hours> = 00 ... 00
<24 Hours> = 00 ... 23
<Minutes> = 00 ... 59
<Seconds> = 00 ... 59

Relative Date/Time BNF

<Relative Date> = <N> <Units>

<N> = 1 ... infinity
<Units> = <Seconds> | <Minutes> | <Hours> | <Days> | <Months> | <Years>

<Seconds> = “Seconds” | “Sec”
<Minutes> = “Minutes” | “Min”
<Hours> = “Hours” | “Hour”

<Days> = “Days” | “Day”
<Weeks> = “Weeks” | “Week”
<Months> = “Months” | “Month”
<Years> = “Years” | “Year”