Oops ... I see now that our data last month was labeled as October 2013.
Shouldn't this date format assume a leading zero instead of trailing zero?
The description of date formats in the Eviews 7 Command Reference shows acceptable month strings as:
• “mm” or “MM”: two-digit month
without/with leading zeros.
I interpreted this to mean that the upper-case "MM" format was to be used when you were always working with 2-digit months (i.e. 01,02,03,...,10,11,12). And the lower-case "mm" format was to be used when you were working with 1- or 2-digit months (i.e. 1,2,3,...10,11,12).
Also, one of the examples for @makedate in the Command Reference's description of string and date functions states that @makedate(1990.3, "yyyy.mm") will return a value of 726526.0 (March 1, 1990). However, when this example is used in a genr command the code returns NA for the reason you state above.
It appears that Eviews interprets all three of the following commands as October 2013:
Code: Select all
genr ser01 = @makedate(2013.1, "yyyy.mm")
genr ser01 = @makedate(2013.1, "yyyy.MM")
genr ser01 = @makedate(2013.1, "YYYY.MM")
Is there any other date format that I can use to get 2013.1 interpreted as January 2013 (without having to manually insert a leading zero - 2013.01)?