timeShort property

Sets or retrieves the current time in short format.

Syntax

HRESULT value = object.put_timeShort(BSTR v);HRESULT value = object.get_timeShort(BSTR* p);

Property values

Type: BSTR

the current time in short format.

Remarks

The memory returned in p can be freed with SysFreeString.

The HeaderFooter behavior will calculate an initial value for the timeShort property automatically when the HeaderFooter behavior is first instantiated. This value can be changed.

Short-format time uses a 12-hour clock format, such as 3:21:43 PM. The actual formatting of the time on your system is determined by the Regional Settings under the Time tab in the Control Panel.

See also

HeaderFooter

timeLong