| From | Richard Williams <Richard.A.Williams.5@nd.edu> |
| To | statalist@hsphsun2.harvard.edu |
| Subject | Re: st: Year to start 1st April |
| Date | Fri, 05 Mar 2004 23:20:36 -0500 |
At 12:19 AM 3/6/2004 +0000, Paul O'Brien wrote:
Hi,Whoops. I think the original solution I posted quickly gets off a day. I think it is fixable, but how about this instead:
gen year= year( datevisit) gives me the calendar year of the clinic visit. How do I get the financial year of the visit, starting on the 1st April each year?
Thanks for help.
Paul
| © Copyright 1996–2013 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |