DateTime

Get Hour

5min

This action extracts the hour from a DateTime.

Document image


Inputs & Outputs

  • [ I ] Datetime: DateTime to extract hour from.
  • [ O ] Hour: Integer representing the extracted hour.
Document image


Example Usage

  • Drag action onto canvas to get familiarized with it.
Document image

  • Declare some variables to be used with the action.
Document image

  • Assign the newly created variables.
  • Save & Run the process and then Check Instance to see the output.
Document image


Use Cases

  • Extracting the hour from a datetime.



Updated 31 Aug 2023
Doc contributor
Did this page help you?