[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: date function

From   "Visintainer, Paul" <PAUL_VISINTAINER@NYMC.EDU>
To   <>
Subject   st: date function
Date   Wed, 6 Feb 2008 15:42:38 -0500

Is there a date function that converts a string variable containing only the text of the month into a numeric version of the month?  e.g.:  X has string values October, April, December, etc.  I want to create a new variable that is numeric with numbers 10, 04, 12, etc.   I thought -monthly( )- would do it, but I can't seem to get the right syntax.



Paul F. Visintainer, PhD

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index