Work with Dates in JavaScript

ofrecido por
Coursera Project Network
En este proyecto guiado, tú:

Describe how JavaScript dates are stored and displayed.

Extract components from a date object using JavaScript Date Get Methods.

Modify a JavaScript date object using Date Set Methods.

Clock2 hours
IntermediateIntermedio
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

By the end of this project, you will have learned to create and manipulate date objects in JavaScript. You will work with dates by using Date Get methods to isolate and use portions of a date—like month and year—and Date Set methods to set portions of a date to specific values. Since dates are often critical pieces of data, the ability to control them is an essential skill for any JavaScript programmer. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Habilidades que desarrollarás

  • JS Date Get Methods
  • JS Date Set Methods
  • JS Date Strings
  • JS Date Formats
  • javascript syntax

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  1. Demonstrate the three methods of creating a date object in JavaScript.

  2. Write the JavaScript code to use dates in a variety of formats including UTC and ISO strings.

  3. Use a JavaScript Get Method to extract the month from a date object and use an array to display the month name.

  4. Create a new date string by using Date Get Methods to extract components from the JavaScript date object and concatenating those components.

  5. Modify existing values in a date object using JavaScript Date Set Methods.

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.