![]() The two valid formats for month and year are the monyy5. To format a date like month and year in SAS, you can use the monyyw. There are a number of other date formats you can use in SAS to format date variables.Ī common date format which is commonly used in real world applications is showing the month and year of a date. date format.īelow shows a simple example of formatting a date like yyyy-mm-dd with yymmdd10. The SAS date format to get this date format is the yymmdd10. This date format shows the full year, the month number and date separated by hyphens. One such case is if you have a date and want to format it differently.Ī date format which is commonly used in real world applications is “YYYY-MM-DD”. When working with different variables in SAS, the ability to change formats easily is valuable. To format a date variable in SAS like yyyy-mm-dd, you can use the yymmdd10.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |