Option B is correct. The DATE9. format in SAS displays dates in the ddMMMyyyy format, which corresponds to the example given (25JUN2019). This format writes dates with a two-digit day, a three-character month abbreviation, and a four-digit year. The other options do not match the correct format:
A is incorrect because ddMMMyy9. format would display a two-digit year.
C is incorrect because there is no such format as Ddmmmyyyy9. in standard SAS formats.
D is incorrect because Dmy9. does not correspond to the required format.
References:
SAS 9.4 documentation on date and time formats.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit