BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
dougcrites
Fluorite | Level 6

We are trying to understand the format of the date fields of  the tags CreatedOn and ModifiedOn in the project.xml file of the .egp.

 

        <Element Type="SAS.EG.ProjectElements.EGTask">
            <Element>

. . .

                <Type>TASK</Type>
                <Container>1df71fd1-5333-41f1-94e0-031f3e35aa71</Container>

     ....

                <CreatedOn>633239148246822370</CreatedOn>
                <ModifiedOn>633252968775056542</ModifiedOn>

 

It is not the normal SAS date time value which is the number of seconds since Jan 1, 1960, as this is too large a value for that.

Does anyone know how to interpret and convert these date values?

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

First, usual caveats for spelunking into the project file: not documented by SAS, and subject to change.

 

Next:

I think it's a Microsoft datetime value (as EG is a Windows app), and that's the number of ticks since Jan 1, 0001 AD.  Big number!  More here in this blog post, including how to convert to SAS.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

View solution in original post

2 REPLIES 2
ChrisHemedinger
Community Manager

First, usual caveats for spelunking into the project file: not documented by SAS, and subject to change.

 

Next:

I think it's a Microsoft datetime value (as EG is a Windows app), and that's the number of ticks since Jan 1, 0001 AD.  Big number!  More here in this blog post, including how to convert to SAS.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
dougcrites
Fluorite | Level 6

Thanks for such a quick response.. much appreciated!

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1682 views
  • 0 likes
  • 2 in conversation