Home  /  Learn  /  Webinars  /  Working with dates and times in Stata

Working with dates and times in Stata

Free1 HourOnline

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. 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.

Presenter:

Gabriela Ortiz portrait

Gabriela Ortiz

Senior Applied Econometrician

Gabriela Ortiz is a Senior Applied Econometrician at StataCorp LLC. 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.

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.

Register

Available sessions
15 September 2026, 11:00 AM CDT (4:00 PM UTC)
Registration deadline: 13 September 2026

Inform me of the next offering









 

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 Stata Conferences may receive four emails in one year.


To ensure delivery of emails to your inbox, add [email protected] to your address book.

I agree to receive communications from StataCorp. I understand StataCorp will process my personal information in accordance with their Privacy Policy.