DateTimeString Property

The DateTimeFormat property returns or sets the plot label date/time format. Returns a String.

Syntax

object.DateTimeString

object.DateTimeString = DateTimeString

 

Parameter Type Description
DateTimeString String required

 

Remarks

Combine date/time codes from the Date/Time formats to create the desired format.

 

Example

This example shows how to set the date time format for a two digit month and four digit year format.

LabelFormat.DateTimeFormat = "MM-yyyy"

 

Used by: AutoLabelFormat object