# parseSecondFromZoned

Industry: Core

## Signature

```ts
parseSecondFromZoned(value: string): string
```

Return the second (0-59) from a zoned datetime string.

- Returns zero-padded string for second.
- Returns "" for invalid input.

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| `value` | `string` | ISO zoned datetime string (e.g., "2024-03-15T14:30:45.123+00:00[UTC]") |

## Returns

Second (00-59) or "" on invalid input

## Examples

```ts
import { parseSecondFromZoned } from "@northguild/gmt/zoned/parse";

parseSecondFromZoned("2024-03-15T14:30:45+00:00[UTC]") // "45"
```

## Source

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