Share via


dateLong property

Sets or retrieves the current date in long format.

Syntax

HRESULT value = object.put_dateLong(BSTR v);HRESULT value = object.get_dateLong(BSTR* p);

Property values

Type: BSTR

the current date in long format.

Remarks

The memory returned in p can be freed with SysFreeString.

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

Typically, the long date uses the format dddd, MMMM dd, yyyy, such as Thursday, October 21, 1999. The actual formatting of the date on your system is determined by the Regional Settings under the Date tab in the Control Panel.

See also

dateShort