> ## Documentation Index
> Fetch the complete documentation index at: https://baileys.wiki/llms.txt
> Use this file to discover all available pages before exploring further.

# HSMDateTimeUnixEpoch

> Protobuf class HSMDateTimeUnixEpoch generated from WAProto.

Defined in: [WAProto/index.d.ts:6543](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6543)

## Implements

* [`IHSMDateTimeUnixEpoch`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/interfaces/IHSMDateTimeUnixEpoch)

## Constructors

### new HSMDateTimeUnixEpoch()

> **new HSMDateTimeUnixEpoch**(`p`?): [`HSMDateTimeUnixEpoch`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/classes/HSMDateTimeUnixEpoch)

Defined in: [WAProto/index.d.ts:6544](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6544)

#### Parameters

##### p?

[`IHSMDateTimeUnixEpoch`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/interfaces/IHSMDateTimeUnixEpoch)

#### Returns

[`HSMDateTimeUnixEpoch`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/classes/HSMDateTimeUnixEpoch)

## Properties

### timestamp?

> `optional` **timestamp**: `null` | `number` | `Long`

Defined in: [WAProto/index.d.ts:6545](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6545)

#### Implementation of

[`IHSMDateTimeUnixEpoch`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/interfaces/IHSMDateTimeUnixEpoch).[`timestamp`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/interfaces/IHSMDateTimeUnixEpoch#timestamp)

## Methods

### create()

> `static` **create**(`properties`?): [`HSMDateTimeUnixEpoch`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/classes/HSMDateTimeUnixEpoch)

Defined in: [WAProto/index.d.ts:6546](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6546)

#### Parameters

##### properties?

[`IHSMDateTimeUnixEpoch`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/interfaces/IHSMDateTimeUnixEpoch)

#### Returns

[`HSMDateTimeUnixEpoch`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/classes/HSMDateTimeUnixEpoch)

***

### decode()

> `static` **decode**(`r`, `l`?): [`HSMDateTimeUnixEpoch`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/classes/HSMDateTimeUnixEpoch)

Defined in: [WAProto/index.d.ts:6548](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6548)

#### Parameters

##### r

`Uint8Array`\<`ArrayBufferLike`> | `Reader`

##### l?

`number`

#### Returns

[`HSMDateTimeUnixEpoch`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/classes/HSMDateTimeUnixEpoch)

***

### encode()

> `static` **encode**(`m`, `w`?): `Writer`

Defined in: [WAProto/index.d.ts:6547](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6547)

#### Parameters

##### m

[`IHSMDateTimeUnixEpoch`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/interfaces/IHSMDateTimeUnixEpoch)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

> `static` **fromObject**(`d`): [`HSMDateTimeUnixEpoch`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/classes/HSMDateTimeUnixEpoch)

Defined in: [WAProto/index.d.ts:6549](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6549)

#### Parameters

##### d

#### Returns

[`HSMDateTimeUnixEpoch`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/classes/HSMDateTimeUnixEpoch)

***

### getTypeUrl()

> `static` **getTypeUrl**(`typeUrlPrefix`?): `string`

Defined in: [WAProto/index.d.ts:6552](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6552)

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

> **toJSON**(): `object`

Defined in: [WAProto/index.d.ts:6551](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6551)

#### Returns

`object`

***

### toObject()

> `static` **toObject**(`m`, `o`?): `object`

Defined in: [WAProto/index.d.ts:6550](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6550)

#### Parameters

##### m

[`HSMDateTimeUnixEpoch`](/proto-reference/Message/HighlyStructuredMessage/HSMLocalizableParameter/HSMDateTime/classes/HSMDateTimeUnixEpoch)

##### o?

`IConversionOptions`

#### Returns

`object`
