# Changing the First Week Day in the Calendar or DatePicker

## Environment

<table>
    <tbody>
	    <tr>
	    	<td>Product</td>
	    	<td>Progress® Kendo UI for Angular Calendar</td>
	    </tr>
    </tbody>
</table>

## Description

How can I change the first day of the week in the Kendo Calendar or DatePicker?

## Solution

1. Create a custom service which inherits the [`CldrIntlService`](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/api/cldrintlservice) and override its [`firstDay`](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/api/cldrintlservice#firstDay) member.

```typescript
import { Inject, Injectable, LOCALE_ID } from '@angular/core';
import { CldrIntlService } from '@progress/kendo-angular-intl';

@Injectable()
export class MyIntlService extends CldrIntlService {
    constructor(@Inject(LOCALE_ID) localeId: string) {
        super(localeId);
    }

    public firstDay(): number {
        return 1;
    }
}
```

2. Provide the custom service implementation as [`IntlService`](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/api/intlservice) in the parent or application module.

```typescript
@NgModule({
    providers: [
        {
            provide: IntlService,
            useClass: MyIntlService
        }
    ],
    // ...
})
export class AppModule { }
```

The following example shows the full implementation of the demonstrated approach.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/knowledge-base/calendar-first-day/source.txt)

## See Also

* [Customizing the Default Service](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/services#customizing-the-default-service)
