Decode(Split) Date/Time
Summary
Extracts individual date and time elements from a Date/Time input.
Description
The Decode (Split) Date/Time component takes a Date/Time value from its In pin and splits it into its constituent parts: Year, Month, Day, Hour, Minute, Second, and Millisecond. Each element is output through its corresponding pin for use in other components or logic.
This is useful in:
Robotics – breaking down timestamps for logging or scheduling actions.
Navigation – extracting precise date/time for travel logs or waypoint tagging.
Automation – feeding separate date/time parts into scheduling or comparison logic.
Diagram:
Categories
- File:TArduinoDateTimeCategory.png Category Date/Time – Date/time decomposition and analysis.
Properties
- Enabled – Enables or disables the component.
Pins
- In – Date/Time input.
- Day – Integer output for day of month.
- Hour – Integer output for hour of day.
- Millisecond – Integer output for milliseconds.
- Minute – Integer output for minutes.
- Month – Integer output for month number.
- Second – Integer output for seconds.
- Year – Integer output for year.