Print

Print


http://www.geocities.com/janet313/pienet/tutorial/srch5.html

----------------------------------------------------------------------
Section 05: Valid Date Formats:
----------------------------------------------------------------------

15 october 95
either a two-digit or a four-digit year can be used: e.g. 95 or 1995

october 95
if a month is used without a day, the entire month is included in the search

oct 95
any unambiguous month abbreviation is valid: d 95 is valid, ju 95 is not

15 Oct 95
capitalization is not important

oct
if the year is omitted, the current year is assumed

95/10/15
with slashes, a year/month/day format is obligatory; two-digit year only

95-10-15
with hyphens, a year-month-day format is obligatory; two-digit year only

7/21
with slash, a month/day format is obligatory: since the year is omitted, the
current year is assumed

7-21
with hyphen, a month-day format is obligatory: since the year is omitted, the
current year is assumed

today
the day of the search: convenient for relative searching.

today-20
NumberOfDays back (20 in this case) from the day of the search; note that
there should be no space before or after the minus sign

yesterday
the day before the day of the search: convenient for relative searching.

yesterday-30
NumberOfDays back (30 in this case) from the day before the search: note that
there should be no space before or after the minus sign

an example of a TIME expression:
FROM yesterday-30 TO yesterday-15
----------------------------------------------------------------------