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
Generate Attribute Quarter from Date


in Help
Trying to create attribute to have Quarter from a date attribute. Getting Month number using
"date_get([Date Inserted],DATE_UNIT_MONTH,"GMT")+1"
but not able to convert or calculate Quarter.
Thank you.
but not able to convert or calculate Quarter.
Thank you.
Tagged:
0
Best Answer
-
WhiteBeard Member Posts: 2
Learner I
Found the solution.str(floor((date_get([Date Attribute],DATE_UNIT_MONTH,"GMT")/3)+1))
0