I need to obtain the Day of the week (Monday, Tuesday, ...).

gohel
gohel New Altair Community Member
edited November 2024 in Community Q&A
I'm using Generate attribute to find the day of the week, but i am not able to can anyone help..
The datetime format is--

Mon Jul 01 08:28:00 EDT 2019


Tagged:

Best Answers

  • jacobcybulski
    jacobcybulski New Altair Community Member
    Answer ✓
    Use "Date to Numerical" operator, in which you will need to set "time_unit" to day, and "day_relative_to" to week.
  • Marco_Barradas
    Marco_Barradas
    Altair Employee
    Answer ✓
    @gohel if you want the name of the day you need to use Date to Nominal and use E as the date format.

Answers

  • jacobcybulski
    jacobcybulski New Altair Community Member
    Answer ✓
    Use "Date to Numerical" operator, in which you will need to set "time_unit" to day, and "day_relative_to" to week.
  • Marco_Barradas
    Marco_Barradas
    Altair Employee
    Answer ✓
    @gohel if you want the name of the day you need to use Date to Nominal and use E as the date format.