![]() ![]() > PLEASE do read the posting guide > and provide commented, minimal, self-contained, reproducible code.Ĭenter for Statistics, Copenhagen Business SchoolĮmail: pd.mes at cbs.dk Priv: PDalgd at gmail. There are also typos for the two other dates (SAS _does_ have a date number zero). You just need to change the default origin setting: A SAS format is an instruction that converts the internal numerical value of a SAS variable to a character string that can be printed or displayed. ![]() > Seems as though as.Date should do it, assuming that's a typo for the first date. Is there any function in R to convert this into YYYY-M-D easily? > i have a csv-file, containing dates in an akward sas format, where is -1, is 1, is 2 and so on (see ). For each format, an example is shown of a date value in the notation produced by the format. > On Jan 27, 2012, at 10:45 AM, Fischer, Felix wrote: Date Formats Date Formats Table 3.3 lists the date formats available in SAS software. On Jan 27, 2012, at 18:58, David Winsemius wrote: Previous message: convert sas date format.Convert sas date format peter dalgaard pdalgd at ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |