timefromparts

Returns a time-only value with given numerical hour, minute and seconds values.

Function

result = timefromparts(hour, minute, second)

Arguments

ArgumentData Type
hourinteger
minuteinteger
secondinteger
resulttime

Comments

Converts individual numbers into a time result.

This function operates without regard to the local time zone. See Dates, Times and Time Zones.

Examples

result = timefromparts(22, 15, 32) /* result is the time 10:15:32 PM */