HCP System Management Help


Specifying dates

When a metadata property requires a date value, you can either select the date from a calendar, select the current date and time, or type a value. The first two options appear when you select the metadata property.

Selecting a calendar date

To select a date from a calendar:

1.Click on the calendar icon ( ) next to the value field.

2.In the calendar window that appears, either click on the date you want or click on Today. To display the next or previous month, click on the forward or back pointer, respectively, in the area showing the month and year.

The selected date appears in the value field in this format:

YYYY-MM-DD

In this format, YYYY is the four-digit year, MM is the two-digit month, and DD is the two-digit day. For example, if you select the day shown on the calendar above, the value field shows:

2011-11-05

Typing a date

You can use these three formats to specify the date and, optionally, time for a metadata property:

YYYY-MM-DD
YYYY
-MM-DDThh:mm:ss
YYYY
-MM-DDThh:mm:ssZ

In these formats:

YYYY is the four-digit year, MM is the two-digit month, and DD is the two-digit day.

hh is hours on a 24-hour clock, mm is minutes, and ss is seconds.

Z means the time is in UTC.

The first two of these formats are assumed to be in the same time zone as the HCP time setting. The third one is in UTC.

Here’s an example of a date and time in the second format shown above:

2011-11-04T14:00:00

Selecting the current date and time

To select the current date and time, click on the icon ( ) to the right of the calendar icon. The value field shows:

$now

Each time you run a saved query that uses the $now variable, the variable is replaced by the current date and time.

© 2017 Hitachi Vantara Corporation. All rights reserved.