javascript toisostring without milliseconds code example Example: javascript toisostring without milliseconds console.log( now.toISOString().split('.')[0]+"Z" );