search for: 1jan60

Displaying 2 results from an estimated 2 matches for "1jan60".

Did you mean: 1jan1960
2009 Apr 30
2
problem in as.date
...956. Usage: as.date(x, order = "mdy", ...) Value: For each date, the number of days between it and January 1, 1960. The date will be missing if the string is not interpretable. But here is what happens when you actually use it: > as.date(c("1jan1960")) [1] 1Jan60 Can somebody explain this? Also please suggest me the best function in R to convert from as.Date("2009-08-13") to Julian and vice versa. Regards Utkarsh
2000 Jan 03
1
Rounding in date.mdy from library(date)
The date library contains a function date.mdy that converts a number D to the date (month,date,year as a list) at D days after 1 Jan 1960. This a convention that fits in with SASs. The logic would be that the result was the date at D days after 1 Jan 1960 00:00:00 (which is a POINT in time as opposed to a date which is an interval), so that any D with 2<=D<3 was rounded to 3 Jan 1960 and