Wednesday, March 15, 2006

st: Time/Date Functions


I apologize in advance b/c I think the answer must be obvious - but I can't seem to make this work and it is driving me nuts.

I am trying to do the following:

tempvar time; ge `time' = mdy(month, day, year); ge junk = month(`time');

The var `time' works fine. But I get only missing values for junk. What am I being thickheaded about?

Danielle Ferry

-- National Bureau of Economic Research <>

* * For searches and help try: * * *


Links to this post:

Create a Link

<< Home

This page is powered by Blogger. Isn't yours?