# chopDate

Industry: Core

## Signature

```ts
chopDate(value: string): string
```

Return the PlainTime portion extracted from an ISO PlainDateTime string.

- Extracts time components from a PlainDateTime.
- Returns "" for invalid input.

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| `value` | `string` | ISO PlainDateTime string |

## Returns

ISO PlainTime string or "" on invalid input

## Examples

```ts
import { chopDate } from "@northguild/gmt/plain/chop";

chopDate("2024-02-29T12:34:56") // "12:34:56"
```

## Source

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