Reader small image

You're reading from  Hands-On Time Series Analysis with R

Product typeBook
Published inMay 2019
Reading LevelBeginner
PublisherPackt
ISBN-139781788629157
Edition1st Edition
Languages
Right arrow
Author (1)
Rami Krispin
Rami Krispin
author image
Rami Krispin

Rami Krispin is a data scientist at a major Silicon Valley company, where he focuses on time series analysis and forecasting. In his free time, he also develops open source tools and is the author of several R packages, including the TSstudio package for time series analysis and forecasting applications. Rami holds an MA in Applied Economics and an MS in actuarial mathematics from the University of MichiganAnn Arbor.
Read more about Rami Krispin

Right arrow

The date and time formats

One of the main challenges of working with date and time objects is the variety of formats that can be used for representing date and time. For example, most of the common calendar systems use an alphabetical form to represent the three date components:

  • Y: Refers to the year, which can display either using the yy (two-digits year, for example, 18) or yyyy (four-digit year, for example, 2018) formats.
  • M: Refers to the month. Here there are four methods to display the month:
    • m: One-digit month (the first 9 months represented by a single digit, for example, 1 for January, 2 for February, and so on)
    • mm: Two-digit month (the first 9 months represented by two digits, for example, 01 for January, 02 for February, and so on)
    • mmm: Three-letter abbreviation for a month (for example, Jan for January, Feb for February, and so on)
    • mmmm: Full month name (for example...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Time Series Analysis with R
Published in: May 2019Publisher: PacktISBN-13: 9781788629157

Author (1)

author image
Rami Krispin

Rami Krispin is a data scientist at a major Silicon Valley company, where he focuses on time series analysis and forecasting. In his free time, he also develops open source tools and is the author of several R packages, including the TSstudio package for time series analysis and forecasting applications. Rami holds an MA in Applied Economics and an MS in actuarial mathematics from the University of MichiganAnn Arbor.
Read more about Rami Krispin