Import
date.zare
use date
Methods
Method | Arguments | Description |
---|---|---|
@getFullYear() | date | returns the full year from date |
@getMonth() | date | returns the month index |
@getDate() | date | returns the date |
@getHours() | date | returns the hours from date |
@getMin() | date | returns the minutes from date |
@getSec() | date | returns the seconds from date |
@getMs() | date | returns the milliseconds from date |
@getDay() | date | return the index of day from date |
@getTime() | date | returns the timestamp |
@getNow() | date | same as Date.now() |
All UTC functions are also supported with the same names example @getUTCFullYear() and @getUTCMs
Last updated on