Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: test the format isdate

From   "rasool.bux" <>
To   "" <>
Subject   st: test the format isdate
Date   Mon, 16 Dec 2013 14:06:55 +0000

Dear Statalist,

I want to test the format of a variable in a program for conversion to string in a loop using the tostring function. If the format of a variable is %td then I want to save it in a string variable by using the tostring function.

I have searched web I found the macro -isnumeric- . But I want to test the format also i.e. -isdate-

Kindly suggest me in this regard.

Rasool Bux


This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any attachments and notify us immediately.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index