Share via


timeLong property

Sets or retrieves the current time in long format.

Syntax

HRESULT value = object.put_timeLong(BSTR v);HRESULT value = object.get_timeLong(BSTR* p);

Property values

Type: BSTR

the current time in long format.

Remarks

The memory returned in p can be freed with SysFreeString.

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

Long-format time uses a 24-hour clock format, such as 15: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

timeShort