Help using Base SAS procedures

gregorian date format syntax.

Reply
N/A
Posts: 0

gregorian date format syntax.

Hi all ,
Please tell me the syntax of gregorian date format..

Thanks in advance..
Super Contributor
Super Contributor
Posts: 365

Re: gregorian date format syntax.

Hello AR.SAS,

I am not quit sure what are you asking for. There are formats and informats. May be the most comman format is date7:

format date date7.;

How would lyou like to use the format?

Sincerely,
SPR
Contributor
Posts: 57

Re: gregorian date format syntax.

Hi,

Gregorian Calendar is the one which is in use now.
Refer http://en.wikipedia.org/wiki/Gregorian_calendar

If you are working with the Historical data, you have to take into account when the country(whose historical data you are dealing with) adopted the Gregorian calendar. Most of Europe adopted from 1582 but UK and USA adopted it from 1752. Before that, I think it is Julian Calendar, but you might have to do some R & D.

All the date formats in SAS refers to Gregorian Calendar.

This is my understanding of Dates and Calendar. If it is not please let me know.

Thanks,
Sandhya.
Ask a Question
Discussion stats
  • 2 replies
  • 252 views
  • 0 likes
  • 3 in conversation