Date Conversion

Amin_Ir
Amin_Ir New Altair Community Member
edited November 5 in Community Q&A
Hi All,
How to Convert The Numeric Attribute <DTYYYYMMDD> to Normal Date? (Image 1)
Because When i use Numerical to Date Attribute ,All Date convert and back to 1970!!






Answers

  • Amin_Ir
    Amin_Ir New Altair Community Member
    Numerical to Date operator
  • Telcontar120
    Telcontar120 New Altair Community Member
    You'll want to convert your date to a polynominal type first instead of a numerical (since numericals will be converted based on the number of milliseconds from midnight on Jan 1, 1970, which is why you have the dates that you do). In your example, after converting to a nominal (use Numerical to Nominal), the correct pattern for the Nominal to Date operator would be  yyyyMMdd