To determine how Meridium Enterprise APM will interpret dates that you enter in your expressions (i.e., the order of the numbers), you should run the query in unformatted mode to see how the dates are displayed. Then, when you enter an expression in the Criteria cell or the Or cell for a date field, you should use the same format as the dates that are displayed in the results when you run the query in unformatted mode.
For example, if you run the query in unformatted mode and find that dates are displayed to you using a Day/Month/Year format, Meridium Enterprise APM will assume that the numbers you enter in your query expression follow the same format. If you enter 4/5/2005, Meridium Enterprise APM will assume that you are indicating May 04, 2005. Likewise, if dates are displayed to you using a different format, such as Month/Day/Year, if you enter 4/5/2005, Meridium Enterprise APM will assume that you are indicating April 05, 2005.
Some of the accepted formats that will be reformatted are shown in the following list. For the purpose of these instructions, we assume that your dates are formatted as Month/Day/Year, and that the expression is meant to return May 04, 2005.
- 5/4/2005
- 5-4-2005
- 05/04/2005
- 05-04-2005
- 5 4 2005
- 5 4 05
Note: If you want to specify a time with the date, you will need to enter it yourself. When Meridium Enterprise APM reformats a date that you enter, it will not insert a time. In other words, you must use the correct date and time syntax, or the query results will include records with the specified date and any time. If you want to query on a specific date and time, use the syntax (# :dt 'yyyy-mm-dd hh:mm:ss'), where the time is formatted in 24 hour time. For example, 5/4/2005 5:00 P.M. would be formatted as (# :dt '2005-05-04 17:00:00').