DateTime
Get Hour
5min
This action extracts the hour from a DateTime.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/plvMynxvUIXBwieOvWTks_tdy.png?format=webp)
- [ I ] Datetime: DateTime to extract hour from.
- [ O ] Hour: Integer representing the extracted hour.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/wsf3yvzg2eICBHneLdo9O_tdy.png?format=webp)
- Drag action onto canvas to get familiarized with it.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/Hjf-hGBTAA7sFIq08I22s_tdy.png?format=webp)
- Declare some variables to be used with the action.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/OAOnU7rvHuYq9s2wz3Pfp_tdy.png?format=webp)
- Assign the newly created variables.
- Save & Run the process and then Check Instance to see the output.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/3p8DYkOArEZQ12BGctPSi_tdy.png?format=webp)
- Extracting the hour from a datetime.