Visual Basic (Declaration) | |
---|---|
Public Property StartDateOfYear As Date |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public DateTime StartDateOfYear {get; set;} |
This example change the year duration from Jan-Dec to Mar-Feb. Beside month, other
values are ignored.
C# | Copy Code |
---|---|
de.StartDateOfYear = new DateTime(2004,3,1); |
Visual Basic | Copy Code |
---|---|
de.StartDateOfYear = New DateTime(2004, 3, 1) |
This property determine the start month of the year. The default is
January.