# chopZonedDate

Industry: Core

## Signature

```ts
chopZonedDate(value: string): string
```

Extracts the local time portion from an ISO 8601 zoned datetime string.

- Extracts time components (hour, minute, second, subsecond) from a ZonedDateTime.
- Returns "" for invalid input.

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| `value` | `string` | ISO 8601 zoned datetime string |

## Returns

The local time portion as HH:MM:SS(.SSS) or "" for invalid

## Examples

```ts
import { chopZonedDate } from "@northguild/gmt/zoned/chop";

chopZonedDate("2024-02-29T14:30:45.123+09:00[Asia/Tokyo]") // "14:30:45.123"
```

## Source

[zoned/chop/chopZonedDate.ts](https://github.com/northguild/gmt/blob/main/packages/gmt/src/zoned/chop/chopZonedDate.ts)
