[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
I want to format a date variable.
I tried these codes:
gen nDate=date(sDate, "dm19y")
format nDate %dD_m_CY
However it did not work and then I realised that the dates included time
Is there a stata code which can deal with this date?
Any help is appreciated
* For searches and help try: