The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

get_date function of Generate Attributes Operator

pb42pb42 Member Posts: 16 Contributor I
edited February 2020 in Help
I am trying to understand how the generate an Hour of the Day attribute from a Date attribute. The date attribute looks like this:  Feb 4, 2020 1:52:34 AM EST. 

I have been trying to determine what are the elements of the date_get function, but cannot figure that out. If I had an example of what goes into the function that may help. The information button provides a generic example, but that does  not make sense to me.

Best Answers

Answers

  • pb42pb42 Member Posts: 16 Contributor I
    Thank you. 

    So, the first element appears to be the attribute name. What does the second element do? Would changing it to DATE_UNIT_YEAR give me the year?
  • pb42pb42 Member Posts: 16 Contributor I
    Thank you again. This is very helpful. 
Sign In or Register to comment.