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

I have a question want to ask. how can spilt date for the year and month.

StanleyTasStanleyTas Member Posts: 6 Learner I
edited September 2020 in Help
I have a question want to ask. how can spilt date for the year and month.

Otherwise, the data is too big, when I running the process it's always crash program.
Tagged:

Answers

  • VanlalVanlal Member Posts: 12 Contributor II
    Hi
    <div><?xml version="1.0" encoding="UTF-8"?><process version="9.6.000"></div><div>&nbsp; <context></div><div>&nbsp; &nbsp; <input/></div><div>&nbsp; &nbsp; <output/></div><div>&nbsp; &nbsp; <macros/></div><div>&nbsp; </context></div><div>&nbsp; <operator activated="true" class="process" compatibility="9.6.000" expanded="true" name="Process"></div><div>&nbsp; &nbsp; <parameter key="logverbosity" value="init"/></div><div>&nbsp; &nbsp; <parameter key="random_seed" value="2001"/></div><div>&nbsp; &nbsp; <parameter key="send_mail" value="never"/></div><div>&nbsp; &nbsp; <parameter key="notification_email" value=""/></div><div>&nbsp; &nbsp; <parameter key="process_duration_for_mail" value="30"/></div><div>&nbsp; &nbsp; <parameter key="encoding" value="SYSTEM"/></div><div>&nbsp; &nbsp; <process expanded="true"></div><div>&nbsp; &nbsp; &nbsp; <operator activated="true" class="utility:create_exampleset" compatibility="9.6.000" expanded="true" height="68" name="Create ExampleSet" width="90" x="45" y="85"></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <parameter key="generator_type" value="attribute functions"/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <parameter key="number_of_examples" value="1"/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <parameter key="use_stepsize" value="false"/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <list key="function_descriptions"></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <parameter key="DateExample" value="date_now()"/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; </list></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <parameter key="add_id_attribute" value="false"/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <list key="numeric_series_configuration"/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <list key="date_series_configuration"/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <list key="date_series_configuration (interval)"/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <parameter key="date_format" value="yyyy-MM-dd HH:mm:ss"/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <parameter key="time_zone" value="SYSTEM"/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<parameter key="column_separator" value=","/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <parameter key="parse_all_as_nominal" value="false"/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <parameter key="decimal_point_character" value="."/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <parameter key="trim_attribute_names" value="true"/></div><div>&nbsp; &nbsp; &nbsp; </operator></div><div>&nbsp; &nbsp; &nbsp; <operator activated="true" class="generate_attributes" compatibility="9.6.000" expanded="true" height="82" name="Generate Attributes" width="90" x="179" y="85"></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <list key="function_descriptions"></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <parameter key="DAY" value="date_get(DateExample,DATE_UNIT_DAY)"/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <parameter key="MONTH" value="date_get(DateExample,DATE_UNIT_MONTH)"/></div><div>&nbsp; &nbsp; &nbsp; &nbsp; </list></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <parameter key="keep_all" value="false"/></div><div>&nbsp; &nbsp; &nbsp; </operator></div><div>&nbsp; &nbsp; &nbsp; <connect from_op="Create ExampleSet" from_port="output" to_op="Generate Attributes" to_port="example set input"/></div><div>&nbsp; &nbsp; &nbsp; <connect from_op="Generate Attributes" from_port="example set output" to_port="result 1"/></div><div>&nbsp; &nbsp; &nbsp; <portSpacing port="source_input 1" spacing="0"/></div><div>&nbsp; &nbsp; &nbsp; <portSpacing port="sink_result 1" spacing="0"/></div><div>&nbsp; &nbsp; &nbsp; <portSpacing port="sink_result 2" spacing="0"/></div><div>&nbsp; &nbsp; </process></div><div>&nbsp; </operator></div><div></process></div><div></div>

    You can get the day and month as above..

Sign In or Register to comment.