D3 and JS Dates and Times
  Duration: 8:02
Part of Course: Introductory D3 Course
This Lesson is for subscribers

D3-and-js-dates-and-times_280x158
Unlock this lesson NOW!
  • Get expert advice on D3 and JS Dates and Times
  • Enjoy access to the complete DashingD3js catalog
  • Start mastering D3.js right now!

Takeaways:

  • JavaScript Objects are collections of methods and properties
  • One of the few times when using D3 that we use the JavaScript Object Constructor instead of the Object Literal creation is when defining JavaScript Date Objects
  • JavaScript Date Objects enable basic storage and retrieval of dates and times
  • JavaScript Date Objects can only be instantiated by calling JavaScript Date as a constructor with the word "new"
  • The JavaScript Date is measures as number of milliseconds since January 1, 1970, 00:00:00 UTC (Coordinate Universal Time)
  • D3 includes a helper module, d3.time.format(specifier), for parsing and formatting JavaScript Dates modeled after the strptime and strftime C-library standards

This Transcript is for subscribers.

D3-and-js-dates-and-times_280x158
Unlock this D3 Tutorial NOW!
  • Get expert advice on D3 and JS Dates and Times
  • Enjoy access to the complete DashingD3js catalog
  • Start mastering D3.js right now!
<< Back To D3 Screencast and Written Tutorials Index