»  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 Gabriela Ortiz, Applied Econometrician, as she demonstrates 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. You'll also learn how you can work with business dates.

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 of the course with instructions on how to access the webinar.

Presenter: Gabriela Ortiz

Gabriela Ortiz portrait

Gabriela Ortiz is an Applied Statistician 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 Stata's introductory webinars.


Available sessions 28 October 2020, 11:00 AM CDT (4:00 PM GMT)
Registration deadline: 26 October 2020

1 December 2020, 11:00 AM CST (5:00 PM GMT)
Registration deadline: 29 November 2020

First name *
Last name *
Email address *
Confirm email address *
Country *
Company/Organization/University *
Department/Field *
Stata serial number
Yes, I would like to receive emails regarding the following:

We appreciate that our users do not want to be inundated with email. Those who sign up to receive emails can anticipate receiving no more than a couple in a month. For example, someone who signs up to be informed of Users Group meetings may receive four emails in one year.

To ensure delivery of emails to your inbox, add service@stata.com to your address book.

StataCorp has a strict privacy policy.






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