Show / Hide Table of Contents

Class NSFieldInfoDateTime

Date + time custom database field.

Syntax

Constructors

NSFieldInfoDateTime()

Initializes a new instance of the NSFieldInfoDateTime class.

Declaration
NSFieldInfoDateTime

Methods

GetDefaultValue()

Date + time custom database field.

Declaration
DateTime GetDefaultValue()
Returns
Type Description
DateTime

Default Date + time value.

Examples
NSFieldInfoDateTime thing;
DateTime defaultValue = thing.GetDefaultValue();

GetIsDefaultNow()

Date + time custom database field.

Declaration
Bool GetIsDefaultNow()
Returns
Type Description
Bool

Should the current date + time be the default?

Examples
NSFieldInfoDateTime thing;
Bool isDefaultNow = thing.GetIsDefaultNow();

SetDefaultValue(DateTime)

Date + time custom database field.

Declaration
Void SetDefaultValue(DateTime defaultValue)
Parameters
Type Name Description
DateTime defaultValue

Default Date + time value.

Returns
Type Description
Void
Examples
NSFieldInfoDateTime thing;
DateTime defaultValue;
thing.SetDefaultValue(defaultValue);

SetIsDefaultNow(Bool)

Date + time custom database field.

Declaration
Void SetIsDefaultNow(Bool isDefaultNow)
Parameters
Type Name Description
Bool isDefaultNow

Should the current date + time be the default?

Returns
Type Description
Void
Examples
NSFieldInfoDateTime thing;
Bool isDefaultNow;
thing.SetIsDefaultNow(isDefaultNow);
In This Article
  • Constructors
    • NSFieldInfoDateTime()
  • Methods
    • GetDefaultValue()
    • GetIsDefaultNow()
    • SetDefaultValue(DateTime)
    • SetIsDefaultNow(Bool)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top