---
id: fast-foundation.calendar.getdayclassnames
title: Calendar.getDayClassNames() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [Calendar](./fast-foundation.calendar.md) &gt; [getDayClassNames](./fast-foundation.calendar.getdayclassnames.md)

## Calendar.getDayClassNames() method

Creates a class string for the day container

<b>Signature:</b>

```typescript
getDayClassNames(date: CalendarDateInfo, todayString?: string): string;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  date | [CalendarDateInfo](./fast-foundation.calendardateinfo.md) | date of the calendar cell |
|  todayString | string |  |

<b>Returns:</b>

string

- string of class names
