JavaScript must be enabled in order to use this site. Please enable JavaScript in your browser and refresh the page. gethour gethour Purpose Get the hour part of a time or datetime. Synopsis function gethour(t:time):integer function gethour(dt:datetime):integer Arguments t A time object dt A datetime object Return value Hour as an integer. Related topics getminute, getsecond, getmsec Module mmsystem Parent Topic Procedures and functions