Skip to content

Commit

Permalink
Add toUnixInteger() to the formatting documentation. (#1379)
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtualWolf authored Mar 4, 2023
1 parent 0c50b70 commit 5628d48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ DateTime objects can also be converted to numerical [Unix timestamps](https://en
```js
dt.toMillis(); //=> 1492702320000
dt.toSeconds(); //=> 1492702320.000
dt.toUnixInteger(); // => 1492702320
dt.valueOf(); //=> 1492702320000, same as .toMillis()
```

Expand Down

0 comments on commit 5628d48

Please sign in to comment.