# chopZonedMilliseconds

Industry: Core

## Signature

```ts
chopZonedMilliseconds(value: string): string
```

Returns the zoned datetime string rounded/truncated to second precision.

- Removes millisecond precision.
- Returns "" for invalid input.

## Parameters

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

## Returns

Zoned datetime string without milliseconds or "" for invalid

## Examples

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

chopZonedMilliseconds("2024-02-29T14:30:45.123+00:00[Europe/London]") // "2024-02-29T14:30:45+00:00[Europe/London]"
```

## Source

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