DATA Step, Macro, Functions and more

Time Zone Conversions

Reply
New Contributor rrr
New Contributor
Posts: 3

Time Zone Conversions

Hi,

I have a data set with times in local times in both Asia and North America. I want to convert the local datetime variable to one in EST. Does anyone know of a SAS function or macro that can accomplish this?

Thanks!

Rebecca
Super Contributor
Posts: 281

Re: Time Zone Conversions

SAS Date Times are simply seconds. If you know (or can look up) the number of hours difference, you would simply add or subtract the equivalent number of seconds from the local time to get EST.
Ask a Question
Discussion stats
  • 1 reply
  • 132 views
  • 0 likes
  • 2 in conversation