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

st: querying format for programming

From   "E. Paul Wileyto" <>
Subject   st: querying format for programming
Date   Thu, 06 Mar 2008 08:35:49 -0500

I need to convert the new date/time format (%tc) to the old standard (%td). However, I need to make sure I don't apply the conversion to non-%tc formats. (Bad things happen.) Is there a function that queries a variable and returns the format (so that I can capture it as a macro)?



E. Paul Wileyto, Ph.D.
Assistant Professor of Biostatistics
Tobacco Use Research Center
School of Medicine, U. of Pennsylvania
3535 Market Street, Suite 4100
Philadelphia, PA 19104-3309

Fax: 215-746-7140
* For searches and help try:

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