Convert date string to Unix timestamp
◷ TimeConvert an ISO date to Unix timestamp
$ echo "2025-06-15T14:30:00Z" | human-to-epoch (input) => {
const d = new Date(input.trim());
if (isNaN(d.getTime())) return "Error: could not parse date";
return `Seconds: ${Math.floor(d.getTime() / 1000)}\nMilliseconds: ${d.getTime()}`;
}