BookmarkSubscribeRSS Feed
quangvublog
Calcite | Level 5

Hello everyone!

 

I am wondering about what is 'Z' character in datetime. Sometime, I check time and the output is 2019-05-30T11:12:34.000000Z.

Another time I check it is 2019-05-31T02:48:17+0000 

 

In the above output, the first has "Z" character, and the second doesn't

 

Quang Vũ Blog
Địa chỉ: 432 Nguyễn Thị Minh Khai, Phường 5, Quận 3, Hồ Chí Minh
Phone: +84 977 689 733
Email: quangvublog@gmail.com

Website: https://blog.vu-review.com

2 REPLIES 2
ScottBass
Rhodochrosite | Level 12

http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169814.htm


Please post your question as a self-contained data step in the form of "have" (source) and "want" (desired results).
I won't contribute to your post if I can't cut-and-paste your syntactically correct code into SAS.
SASKiwi
PROC Star

See this Wikipedia link for an explanation of the use of Z in times: https://en.wikipedia.org/wiki/ISO_8601

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 861 views
  • 0 likes
  • 3 in conversation