I'm trying to run a calculate field expression with either python or arcade that will take my date/time field and populate the nearest hour. Everything with 30 minutes and below will be rounded down and everything over 30 minutes will be rounded up. Examples below. Thank you in advance!
4/13/23 10:44:25 --> 11
4/10/23 22:26:48 --> 22
4/1/23 1:30:02 --> 2