DATA Step, Macro, Functions and more

date format

Accepted Solution Solved
Reply
New Contributor
Posts: 3
Accepted Solution

date format

uestions 137. The following SAS program is submitted:
data one;
date = `04juI2005'd;
format date weekdate.; run;
proc print data = one; run;
What output is generated?
A. 1 Monday, July 4, 2005
B. 1 July4, 2005
C. 1 04Jul2005
D. 1 Monday, 07/04/2005
Answer: A


Accepted Solutions
Solution
‎12-06-2016 12:59 PM
New Contributor
Posts: 3

Re: date format

can you explain a bit. thnx

View solution in original post


All Replies
Solution
‎12-06-2016 12:59 PM
New Contributor
Posts: 3

Re: date format

can you explain a bit. thnx
Super User
Posts: 11,343

Re: date format

Topics to look up in the documentation:

Date literal value

Format

Specific format Weekdate.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 374 views
  • 0 likes
  • 2 in conversation