import getTime from '../getTime/index' ; import requiredArgs from '../_lib/requiredArgs/index' ; name category summary description param { Date | Number } date returns { Number } throws example export default function getUnixTime ( dirtyDate ) { requiredArgs ( 1 , arguments ) ; return Math . floor ( getTime ( dirtyDate ) / 1000 ) ; }