Skip to Content
DocumentationGet StartedModulesDate Modules

Import

date.zare
use date

Methods

MethodArgumentsDescription
@getFullYear()datereturns the full year from date
@getMonth()datereturns the month index
@getDate()datereturns the date
@getHours()datereturns the hours from date
@getMin()datereturns the minutes from date
@getSec()datereturns the seconds from date
@getMs()datereturns the milliseconds from date
@getDay()datereturn the index of day from date
@getTime()datereturns the timestamp
@getNow()datesame as Date.now()

All UTC functions are also supported with the same names example @getUTCFullYear() and @getUTCMs

Last updated on