»  Home »  Training »  Webinars »  Working with dates and times in Stata

Webinar: Working with dates and times in Stata


Duration: 1 hour
Where: Join us from anywhere!
Cost: Free—but registrations are limited


Many analyses rely on dates. For example, you might need to calculate the time between two dates, or perhaps you plan to fit a time-series model or perform survival analysis. Before you can perform your final analysis, you'll want to make sure that your dates are properly stored and ready for use. Dates are often coded differently by different researchers and stored differently across software packages. You might be working with standard dates and times, while your colleague prefers UTC dates and times. How do you proceed with the dataset they hand you? You are working with Stata, but your colleague might hand you a dataset created using a different software. Perhaps your data include daily dates, but you may need to work with monthly dates. How do you proceed?

In this webinar, we will provide solutions to these challenges and more using Stata's date and time features. These features allow you to easily convert from one type of date and time to another. Whether you want to work with calendar dates, focus on business dates, compute time between dates, or even use dates in your expressions, you will see how this can be done in Stata.

Join us as we demonstrate how to build dates and times from components, extract only those portions that are of interest to you, or simply customize them to your liking.

How to join

The webinar is free, but you must register to attend. Registrations are limited so register soon.

We will send you an email prior to the start with instructions on how to access the webinar.

Presenter: Gabriela Ortiz

Gabriela Ortiz portrait

Gabriela Ortiz is an Applied Econometrician at StataCorp. She holds a bachelor's degree in psychology from the University of California, Davis and a master's degree in economics from California State University, Long Beach. Gabriela is a primary author of Stata's reporting manual and has contributed to the development of each of the reporting features. She also developed and regularly teaches several of Stata's webinars.


Registration is now closed.

To be notified of future course offerings, sign up for an email alert.





The Stata Blog: Not Elsewhere Classified Find us on Facebook Follow us on Twitter LinkedIn YouTube Instagram
© Copyright 1996–2023 StataCorp LLC   •   Terms of use   •   Privacy   •   Contact us