Skip to content

Commit 4325537

Browse files
authored
corrected order for subtraction
1 parent c72cca8 commit 4325537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/11-date/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Besides the given methods, there are two special ones that do not have a UTC-var
124124
: Returns the timestamp for the date -- a number of milliseconds passed from the January 1st of 1970 UTC+0.
125125

126126
[getTimezoneOffset()](mdn:js/Date/getTimezoneOffset)
127-
: Returns the difference between the local time zone and UTC, in minutes:
127+
: Returns the difference between UTC and the local time zone, in minutes:
128128

129129
```js run
130130
// if you are in timezone UTC-1, outputs 60

0 commit comments

Comments
 (0)