> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# NSFieldInfoTime

> Time custom database field. Date value is ignored.

Time custom database field. Date value is ignored.

## Constructors

### NSFieldInfoTime()

```crmscript theme={null}
NSFieldInfoTime
```

Initializes a new instance of the NSFieldInfoTime class.

## Methods

## GetDefaultValue()

```crmscript theme={null}
DateTime GetDefaultValue()
```

**Returns:** [CRMScript.Global.DateTime](CRMScript.Global.DateTime) - Default Time value.

**Example:**

```crmscript theme={null}
NSFieldInfoTime thing;
DateTime defaultValue = thing.GetDefaultValue();
```

## GetIsDefaultNow()

```crmscript theme={null}
Bool GetIsDefaultNow()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool) - Should the current date + time be the default?

**Example:**

```crmscript theme={null}
NSFieldInfoTime thing;
Bool isDefaultNow = thing.GetIsDefaultNow();
```

## SetDefaultValue(DateTime)

```crmscript theme={null}
Void SetDefaultValue(DateTime defaultValue)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSFieldInfoTime thing;
DateTime defaultValue;
thing.SetDefaultValue(defaultValue);
```

## SetIsDefaultNow(Bool)

```crmscript theme={null}
Void SetIsDefaultNow(Bool isDefaultNow)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSFieldInfoTime thing;
Bool isDefaultNow;
thing.SetIsDefaultNow(isDefaultNow);
```
