- Notifications
You must be signed in to change notification settings - Fork230
Date and Time#352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
joaquinelio merged 30 commits intojavascript-tutorial:masterfromFedebornaz:date-and-timeAug 28, 2020
Uh oh!
There was an error while loading.Please reload this page.
Merged
Date and Time#352
Changes fromall commits
Commits
Show all changes
30 commits Select commitHold shift + click to select a range
81b3a90
Traducción del artículo Date and Time
Fedebornaz0230231
Update 1-js/05-data-types/11-date/1-new-date/solution.md
Fedebornaz5ed3cfa
Update 1-js/05-data-types/11-date/3-weekday/task.md
Fedebornazc815759
Update 1-js/05-data-types/11-date/4-get-date-ago/solution.md
Fedebornaz3d69f63
Update 1-js/05-data-types/11-date/4-get-date-ago/task.md
Fedebornaz8ed2752
Update 1-js/05-data-types/11-date/4-get-date-ago/task.md
Fedebornazb5bf760
Update 1-js/05-data-types/11-date/5-last-day-of-month/task.md
Fedebornazd60abda
Update 1-js/05-data-types/11-date/5-last-day-of-month/task.md
Fedebornaz79c88fb
Update 1-js/05-data-types/11-date/article.md
Fedebornaz415e063
Update 1-js/05-data-types/11-date/article.md
Fedebornaz4f5de13
Update 1-js/05-data-types/11-date/article.md
Fedebornazf619ed7
Update 1-js/05-data-types/11-date/8-format-date-relative/task.md
Fedebornaz602a2d1
Update 1-js/05-data-types/11-date/article.md
Fedebornaz4fce385
Update 1-js/05-data-types/11-date/article.md
Fedebornaz6c114e2
Update 1-js/05-data-types/11-date/article.md
Fedebornaz401c423
Update 1-js/05-data-types/11-date/article.md
Fedebornaz80b74c7
Update 1-js/05-data-types/11-date/article.md
Fedebornaz6b4af91
Update 1-js/05-data-types/11-date/article.md
Fedebornazd53946c
agregados caracteres de cierre de box en línea 97
Fedebornazee2b149
Merge branch 'date-and-time' of https://github.com/Fedebornaz/es.java…
Fedebornaz48e5264
Update article.md
joaquineliob59c98c
Update task.md
joaquinelio191567f
Update solution.md
joaquinelio1f4722f
Update article.md
joaquinelio1147101
Update 1-js/05-data-types/11-date/article.md
Fedebornazf3bdfca
Update 1-js/05-data-types/11-date/article.md
Fedebornaz63681a2
Update 1-js/05-data-types/11-date/article.md
Fedebornaz450593e
Update 1-js/05-data-types/11-date/2-get-week-day/solution.md
Fedebornaz046c2fc
Update solution.md
vplentinaxe343aa2
Update solution.md
vplentinaxFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
20 changes: 16 additions & 4 deletions1-js/05-data-types/11-date/1-new-date/solution.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
El constructor`new Date`utiliza la zona horaria local. Lo único importante por recordar es que los meses se cuentan desde el 0. | ||
Por ejemplo, febrero es el mes 1. | ||
Aquí hay un ejemplo con números como componentes de fecha: | ||
```js run | ||
//new Date(año, mes, día, hora, minuto, segundo, milisegundo) | ||
let d1 = new Date(2012, 1, 20, 3, 12); | ||
alert( d1 ); | ||
``` | ||
También podríamos crear una fecha a partir de un string, así: | ||
```js run | ||
//new Date(datastring) | ||
let d2 = new Date("February 20, 2012 03:12:00"); | ||
alert( d2 ); | ||
``` | ||
6 changes: 3 additions & 3 deletions1-js/05-data-types/11-date/1-new-date/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions1-js/05-data-types/11-date/2-get-week-day/solution.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions1-js/05-data-types/11-date/2-get-week-day/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions1-js/05-data-types/11-date/3-weekday/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions1-js/05-data-types/11-date/4-get-date-ago/solution.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions1-js/05-data-types/11-date/4-get-date-ago/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions1-js/05-data-types/11-date/5-last-day-of-month/solution.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions1-js/05-data-types/11-date/5-last-day-of-month/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions1-js/05-data-types/11-date/6-get-seconds-today/solution.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions1-js/05-data-types/11-date/6-get-seconds-today/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions1-js/05-data-types/11-date/7-get-seconds-to-tomorrow/solution.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions1-js/05-data-types/11-date/7-get-seconds-to-tomorrow/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
42 changes: 21 additions & 21 deletions1-js/05-data-types/11-date/8-format-date-relative/solution.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions1-js/05-data-types/11-date/8-format-date-relative/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.