JavaScript must be enabled in order to use this site. Please enable JavaScript in your browser and refresh the page. sethour sethour Purpose Set the hour part of a time or datetime. Synopsis procedure sethour(t:time,h:integer) procedure sethour(dt:datetime,h:integer) Arguments t A time object dt A datetime object h Hour Related topics setminute, setsecond, setmsec Parent Topic Procedures and functions