O'Reilly logo
  • Mike Sokolov thinks this is interesting:

When possible, it’s a good idea to store date and time values as date objects, not as strings or numbers. There are many good reasons for this. First, manipulating dates as strings is difficult. The date and time classes include functions for addition and subtraction. For example:

From

Cover of R in a Nutshell, 2nd Edition

Note

words to live by