Help using Base SAS procedures

Format Parameter Date

Reply
N/A
Posts: 0

Format Parameter Date

How can I format a date in a title of a graph that is being populated from a parameter value (&Monitor_Date)? Right now the date shows up as '18Oct2008'd and I want to use the WEEKDATE29. format to display Saturday, October 18, 2008.

I am using SAS Enterprise Guide 4.1, and I am new to SAS.

Thanks,
Super User
Posts: 5,256

Re: Format Parameter Date

title %sysfunc(putn(&Monitor_Date,WEEKDATE29.));

/Linus
Data never sleeps
N/A
Posts: 0

Re: Format Parameter Date

Thanks! This works perfect.
Ask a Question
Discussion stats
  • 2 replies
  • 119 views
  • 0 likes
  • 2 in conversation