Date overview
Added in v1.0.0
Table of contents
utils
day
Signature
export declare const day: any
Added in v1.0.0 An optic that accesses the day(of the month) of a Date
. Uses Date.prototype.getDate
and Date.prototype.setDate
.
hour
Signature
export declare const hour: any
Added in v1.0.0 An optic that accesses the hour of a Date
. Uses Date.prototype.getHours
and Date.prototype.setHours
.
millisecond
Signature
export declare const millisecond: any
Added in v1.0.0 An optic that accesses the milliseconds of a Date
. Uses Date.prototype.getMilliseconds
and Date.prototype.setMilliseconds
.
minute
Signature
export declare const minute: any
Added in v1.0.0 An optic that accesses the minutes of a Date
. Uses Date.prototype.getMinutes
and Date.prototype.setMinutes
.
month
Signature
export declare const month: any
Added in v1.0.0 An optic that accesses the month of a Date
. Uses Date.prototype.getMonth
and Date.prototype.setMonth
.
second
Signature
export declare const second: any
Added in v1.0.0 An optic that accesses the seconds of a Date
. Uses Date.prototype.getSeconds
and Date.prototype.setSeconds
.
time
Signature
export declare const time: any
Added in v1.0.0 An optic that accesses the time(ms since epoch) of a Date
. Uses Date.prototype.getTime
and Date.prototype.setTime
.
year
Signature
export declare const year: any
Added in v1.0.0 An optic that accesses the year of a Date
. Uses Date.prototype.getFullYear
and Date.prototype.setFullYear
.