R LanguageDate-time classes (POSIXct and POSIXlt)

Download R Language for free

Introduction

R includes two date-time classes -- POSIXct and POSIXlt -- see ?DateTimeClasses.

Remarks

Pitfalls

With POSIXct, midnight will display only the date and time zone, though the full time is still stored.

Related topics

Specialized packages

  • lubridate

Related Examples

Date-time arithmetic