Thank you statalisters. I found an easier way through..
gen bdate=daily(dob, "dm19y")
format bdate %td
Thanks again
ganesh
Mr J Saravana Ganesh FRCS(Ed. & Glasg.)
Clinical Research Fellow
UK National Audit of Intrathoracic Transplantation
Clinical Effectiveness Unit
The Royal College of Surgeons of England
Lincoln's Inn Fields
London WC2A 3PE
Direct line: 02078696620
Fax: 02078696644
This e-mail and any attached files are confidential and are intended
solely for the use of the individual or entity to whom they are
addressed.
This communication represents the originators personal views and
opinions, which do not necessarily reflect those of The Royal College of
Surgeons of England.
If you are not the intended recipient, or the person responsible for
delivering the e-mail to the intended recipient, be advised that you
have received this e-mail in error, and that any use, dissemination,
forwarding, printing or copying of this e-mail is strictly prohibited.
http://www.rcseng.ac.uk
Registered Charity Number: 212808
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/