dateShort property

Sets or retrieves the current date in short format.


HRESULT value = object.put_dateShort(BSTR v);HRESULT value = object.get_dateShort(BSTR* p);

Property values

Type: BSTR

the current date in short format.


The memory returned in p can be freed with SysFreeString.

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

Typically, the short date uses the format M/d/yyyy, such as 10/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