Date-Time Field Extract

Workflow

Below is the workflow. It does the following:

  • Reads data from a dataset.
  • It creates a new DataFrame by extracting Year, Month, Day of month, Hour, Minute, Second fields from “TimeStamp”
  • Prints the results.
DateTimeFieldExtract

Reading from Dataset

It reads in the input Dataset File.

Processor Configuration

DateTimeFieldExtract

Processor Output

DateTimeFieldExtract

Date-Time Field Extract

It creates a new DataFrame by extracting the year, month, day of month, hour, minute, second, week of the year from the timestamp column.

Processor Configuration

DateTimeFieldExtract

Processor Output

DateTimeFieldExtract

Prints the Results

It prints the first few records onto the screen.