<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`MomentFormatComponent`](MomentFormatComponent) › [`setValue`](MomentFormatComponent/setValue)
## MomentFormatComponent.setValue() method
0.9.7
**Signature:**
```typescript
setValue(value: string): this;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>value</code> | <code>string</code> | |
**Returns:**
`this`