DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
dayjs subtract days
dayjs().subtract(7, 'day') // you can also put month, year etc
Source by day.js.org #
PREVIOUS
NEXT
Tagged:
#dayjs
#subtract
#days
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit