[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
I have two questions on elapsed dates:
The mdy()-function returns the elapsed date, counting from January 1 1960.
. display mdy(1,1,1960)
. display mdy(1,2,1960)
. display mdy(12,24,100)
. display mdy(12,24,99)
returns a missing value, as does
. display mdy(12,24,00)
What is the reason that mdy() returns missing with 2 digit years ( to prevent
the user from using two digit years?)
The second question is just for curiosity. Is there any reason for using the
January 1 1960 as zero? It seems quite common in software programs, but why?
* For searches and help try: