Class NSFieldInfoTime
Time custom database field. Date value is ignored.
Constructors
NSFieldInfoTime()
Initializes a new instance of the NSFieldInfoTime class.
Declaration
NSFieldInfoTime Methods
GetDefaultValue()
Declaration
DateTime GetDefaultValue() Examples
NSFieldInfoTime thing;
DateTime defaultValue = thing.GetDefaultValue();
Returns
| Type | Description |
| DateTime | Default Time value. |
GetIsDefaultNow()
Declaration
Bool GetIsDefaultNow() Examples
NSFieldInfoTime thing;
Bool isDefaultNow = thing.GetIsDefaultNow();
Returns
| Type | Description |
| Bool | Should the current date + time be the default? |
SetDefaultValue(DateTime)
Declaration
Void SetDefaultValue(DateTime defaultValue) Examples
NSFieldInfoTime thing;
DateTime defaultValue;
thing.SetDefaultValue(defaultValue);
Parameters
| Type | Name | Description |
| defaultValue | Default Time value. |
Returns
| Type | Description |
| Void |