Skip to content

Commit 14ef1df

Browse files
committed
Update README
1 parent 2694338 commit 14ef1df

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ Operator | Description
7373
--- | ---
7474
`DATE_ISO(a)` | transform date or date-like object to ISO string
7575
`DATE_UTC(a)` | transform date or date-like object to UTC string
76+
`YEAR(a)` | get year of a date object, similar to `getFullYear`
77+
`MONTH(a)` | get month of a date object, similar to `getMonth`
78+
`GET_DATE(a)` | get date of a date object, similar to `getDate`
79+
`DAY(a)` | get day of a date object, similar to `getDay`
80+
`HOURS(a)` | get hours of a date object, similar to `getHours`
81+
`MINUTES(a)` | get minutes of a date object, similar to `getMinutes`
82+
`SECONDS(a)` | get seconds of a date object, similar to `getSeconds`
83+
`TIME(a)` | get time of a date object, similar to `getTime`
7684

7785
### Arithmetic
7886

0 commit comments

Comments
 (0)