Header menu logo FSharp.Finance.Personal

Date Type

the date at the customer's location - ensure any time-zone conversion is performed before using this - as all calculations are date-only with no time component, summer time or other such time artefacts

Record fields

Record Field Description

Day

Full Usage: Day

Field type: int
Field type: int

Month

Full Usage: Month

Field type: int
Field type: int

Year

Full Usage: Year

Field type: int
Field type: int

Constructors

Constructor Description

Date(year, month, day)

Full Usage: Date(year, month, day)

Parameters:
    year : int
    month : int
    day : int

Returns: Date
year : int
month : int
day : int
Returns: Date

Instance members

Instance member Description

this.AddDays

Full Usage: this.AddDays

Parameters:
    i : int

Returns: Date
i : int
Returns: Date

this.AddMonths

Full Usage: this.AddMonths

Parameters:
    i : int

Returns: Date
i : int
Returns: Date

this.AddYears

Full Usage: this.AddYears

Parameters:
    i : int

Returns: Date
i : int
Returns: Date

this.ToDateTime

Full Usage: this.ToDateTime

Returns: DateTime
Returns: DateTime

Static members

Static member Description

d1 - d2

Full Usage: d1 - d2

Parameters:
Returns: TimeSpan
d1 : Date
d2 : Date
Returns: TimeSpan

Date.DaysInMonth(year, month)

Full Usage: Date.DaysInMonth(year, month)

Parameters:
    year : int
    month : int

Returns: int
year : int
month : int
Returns: int

Date.FromIsoString(ds)

Full Usage: Date.FromIsoString(ds)

Parameters:
    ds : string

Returns: Date
ds : string
Returns: Date

Type something to start searching.