Skip to content

Commit 3ed941a

Browse files
Dorin-Davidpasor1
andauthored
Update 1-js/05-data-types/11-date/article.md
Co-authored-by: Simone Pasini <66781510+pasor1@users.noreply.github.com>
1 parent 42be6f2 commit 3ed941a

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Per creare un nuovo oggetto `Date`, chiamiamo `new Date()` con uno dei seguenti
3333

3434
E' un modo semplice di rappresentare una data. Possiamo sempre creare una data a partire da un timestamp utilizzando `new Date(timestamp)`, o possiamo convertire un oggetto `Date` esistente utilizzando il metodo `date.getTime()` (vedi sotto).
3535

36-
Le date prima del 01.01.1970 hanno timestamps negative, ad esempio:
36+
Le date prima del 01.01.1970 hanno timestamps negativi, ad esempio:
3737
```js run
3838
// 31 Dec 1969
3939
let Dec31_1969 = new Date(-24 * 3600 * 1000);

0 commit comments

Comments
 (0)