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

st: converting elapsed days to date.

From   "Ashim Kapoor" <>
Subject   st: converting elapsed days to date.
Date   Thu, 28 Aug 2008 12:17:25 +0530

Hello everyone,

I understand that if I have the month , day ,year I can do

gen stdate= mdy(month,day,year)

is there a way I can "reverse this" ie. given the elapsed days can I
figure out todays date in the format 20080828 for say today?

Thank you,
*   For searches and help try:

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