Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
Explore Siemens Communities
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Home
Discussions
Community Q&A
Generate Attribute Quarter from Date
WhiteBeard
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.
Find more posts tagged with
AI Studio
Generate Attributes
Dates + Times
Accepted answers
WhiteBeard
Found the solution.
str(floor((date_get([Date Attribute],DATE_UNIT_MONTH,"GMT")/3)+1))
All comments
WhiteBeard
Found the solution.
str(floor((date_get([Date Attribute],DATE_UNIT_MONTH,"GMT")/3)+1))
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups