## formatWallTime() function

Formats a FHIR time string as a human readable string. The viewer's timezone does not affect the display.

**Signature:**

```typescript
export declare function formatWallTime(time: string | undefined, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| time | string | The time to format, a string like `HH:mm` or `HH:mm:ss` |
| locales | Intl.LocalesArgument | _(Optional)_ Optional locales. |
| options | Intl.DateTimeFormatOptions | _(Optional)_ Optional time format options. |

**Returns:**

string

The formatted time string.

- [formatWallTime() function](/content/docs/sdk/core.formatwalltime#formatwalltime-function/index.html)
- [Parameters](/content/docs/sdk/core.formatwalltime#parameters/index.html)
