# chopZonedTimezone

Industry: Core

## Signature

```ts
chopZonedTimezone(value: string): string
```

Returns the local plain datetime (date + time) extracted from a zoned datetime string.

- Extracts both date and time components from a ZonedDateTime.
- Returns "" for invalid input.

## Parameters

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

## Returns

Local plain datetime string or "" for invalid

## Examples

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

chopZonedTimezone("2024-02-29T14:30:45.123+05:30[Asia/Kolkata]") // "2024-02-29T14:30:45.123"
```

## Source

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