import toDate from '../toDate/index' ; import toInteger from '../_lib/toInteger/index' ; import requiredArgs from '../_lib/requiredArgs/index' ; name category summary description param { Number } unixTime returns { Date } throws example export default function fromUnixTime ( dirtyUnixTime ) { requiredArgs ( 1 , arguments ) ; const unixTime = toInteger ( dirtyUnixTime ) ; return toDate ( unixTime * 1000 ) ; }