MindFusion.Charting for JavaScript Programmer's Guide
DateSettings.longMonths Property
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Gets or sets a list of long month names.

Namespace: MindFusion.Common
File: Locale.js

## Syntax

JavaScript Copy Code
get longMonths() {} set longMonths(value) {}

### Property Value

Type: Array
Array

An array of long month names.

## Example

The following code creates a new Locale instance that uses the dateSettings property to specify the desired date and time formats.

JavaScript Copy Code
var locale = new Locale("us-2"); locale.dateSettings.firstDayOfWeek = 0; locale.dateSettings.dateSeparator = "/"; locale.dateSettings.timeSeparator = ":"; locale.dateSettings.dayPeriodAM = "AM"; locale.dateSettings.dayPeriodPM = "PM"; locale.dateSettings.dateFormats.shortDate = "MM/d/yyyy"; locale.dateSettings.dateFormats.shortTime = "h:mm tt"; locale.dateSettings.dateFormats.shortDateTime = "MM/d/yyyy h:mm tt"; locale.dateSettings.dateFormats.longDate = "dddd, MMMM dd, yyyy"; locale.dateSettings.dateFormats.longTime = "h:mm:ss tt"; locale.dateSettings.dateFormats.longDateTime = "dddd, MMMM dd, yyyy h:mm:ss tt"; locale.dateSettings.dateFormats.longDays = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]; locale.dateSettings.dateFormats.longMonths = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; locale.dateSettings.dateFormats.dayMonth = "d/MM"; locale.dateSettings.dateFormats.yearMonth = "MMMM, yyyy"; locale.dateSettings.generate(); calendar.locale = locale;

## See Also

DateSettings Members
DateSettings Class
MindFusion.Common Namespace