Stata 18 is here! Explore all the new features ->
Do you need some guidance on working with dates and times in Stata? Take a look at this quick guide; simply follow the arrows for the steps you can take to obtain your ideal dates. Whether you need to encode dates stored as strings, convert numerically encoded monthly dates to daily dates, or convert dates and times from other software to Stata dates and times, you'll easily find what you need in this quick guide.
Classroom & web training
Teaching with Stata
Statalist: The Stata Forum
© Copyright 1996–2023 StataCorp LLC. All rights reserved.
Last updated: 16 November 2022
StataCorp LLC (StataCorp) strives to provide our users with exceptional products and services. To do so, we must collect personal information from you. This information is necessary to conduct business with our existing and potential customers. We collect and use this information only where we may legally do so. This policy explains what personal information we collect, how we use it, and what rights you have to that information.
These cookies are essential for our website to function and do not store any personally identifiable information. These cookies cannot be disabled.
Please note: Clearing your browser cookies at any time will undo preferences saved here. The option selected here will apply only to the device you are currently using.